diff options
author | Kim Alvefur <zash@zash.se> | 2018-12-09 23:01:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-12-09 23:01:47 +0100 |
commit | 968eaf41a85439c6f13a0dffab06ed79fec87f41 (patch) | |
tree | 9f543bb3fed58d6e6b3f33c18a2c407a375d8b2b /util/adhoc.lua | |
parent | 76536dab05ed39a321accdcb7a3808f0c24cc42e (diff) | |
download | prosody-968eaf41a85439c6f13a0dffab06ed79fec87f41.tar.gz prosody-968eaf41a85439c6f13a0dffab06ed79fec87f41.zip |
util.datetime: Make sure timezone difference is calculated correctly (fixes #1262)
If the two os.date() calls happen at either side of a second ticking
over there would be a one second error in the calculation.
Diffstat (limited to 'util/adhoc.lua')
0 files changed, 0 insertions, 0 deletions