Bug #6314
closedDatetime redisplay incrementing by 1 hour
Description
Appears DST isn't functioning right when offseting a datetime. For example 05:00:00 UTC is 00:00:00 EST, but redisplay is outputting 01:00:00. Either the JS or the PHP is off.
Updated by krileon almost 8 years ago
Seams to be PHP doing this. The offset is reporting as -05:00 fine, but it's outputting -04:00.
Updated by krileon almost 8 years ago
This appears to be due to out of date timezone data in PHP. This may not affect all installs, but the accuracy issue is gone when converted to a GMT offset.
Updated by krileon almost 8 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in MR !1179
Converts timezone name to more accurate GMT offset.
Updated by krileon almost 8 years ago
- Status changed from Resolved to Assigned
- % Done changed from 100 to 90
Needs further testing to ensure no bad timezone errors occur.
Updated by krileon almost 8 years ago
- % Done changed from 90 to 0
This happens if you select a date during DST while outside of DST. The PHP handles TimeZone correctly, but momentjs doesn't. The only way for momentjs to properly handle timezone is to include momentjs-timezone.
Updated by krileon almost 8 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in MR !1179
Implements usage of moment-timezone.