Software /
code /
prosody
Diff
spec/util_stanza_spec.lua @ 9698:e616c37756b3 0.11
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Dec 2018 23:01:47 +0100 |
parent | 9673:e7e75b091c96 |
child | 9732:51583ea2b4fd |
child | 11205:9d1e21c23784 |