diff options
author | Felix Krause <contact@flyx.org> | 2016-11-01 17:22:50 +0100 |
---|---|---|
committer | Felix Krause <contact@flyx.org> | 2016-11-01 17:22:50 +0100 |
commit | 2ec6fe56ade00e0bbe0b2c8c49b8554c3723bcd9 (patch) | |
tree | 684ca3137e7716c507ec7effef77b30354e82a3e /compiler | |
parent | 47304372ca6deb296ee329cdd1a803f44061bdbd (diff) | |
download | Nim-2ec6fe56ade00e0bbe0b2c8c49b8554c3723bcd9.tar.gz |
Fixed timezone handling
* mktime always interprets its input as local time even on systems where gmtoff is present, so using it is utterly useless for anything but getting the local timezone. Removed all other usage of gmtoff to avoid confusion. * Properly handle timezone offset in toTime() * Properly handle timezone offset in `$` because asctime also interprets its input as local time * Also tried to fix the JavaScript implementation
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions