Skip to content
Snippets Groups Projects
Commit d78e7a3e authored by Peter Nerlich's avatar Peter Nerlich
Browse files

fix timezones, again

parent 09b215ce
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,8 @@ function aka.parseDateTime(str, timezone) ...@@ -22,8 +22,8 @@ function aka.parseDateTime(str, timezone)
tbl[k] = w tbl[k] = w
end end
end end
tbl.hour = tbl.hour + offset.h + timezone.h tbl.hour = tbl.hour - offset.h + timezone.h
tbl.min = tbl.min + offset.m + timezone.m tbl.min = tbl.min - offset.m + timezone.m
return os.time(tbl) return os.time(tbl)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment