Software /
code /
prosody
Changeset
4250:7b456af75c77
util.datetime: Fix timestamp parsing when in DST (thanks xnyhps)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 15 Apr 2011 22:39:53 +0100 |
parents | 4249:896e8793e7a4 |
children | 4252:210639fb8fbe |
files | util/datetime.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/datetime.lua Thu Apr 14 22:40:50 2011 +0100 +++ b/util/datetime.lua Fri Apr 15 22:39:53 2011 +0100 @@ -49,7 +49,7 @@ if sign == "-" then tzd_offset = -tzd_offset; end end sec = (sec + time_offset) - tzd_offset; - return os_time({year=year, month=month, day=day, hour=hour, min=min, sec=sec}); + return os_time({year=year, month=month, day=day, hour=hour, min=min, sec=sec, isdst=false}); end end end