Page MenuHomeDevCentral

Use UTC timezone to determine month heading title
ClosedPublic

Authored by dereckson on Mar 1 2018, 01:09.
Tags
None
Referenced Files
F7120991: D1370.id.diff
Mon, Apr 21, 01:24
Unknown Object (File)
Sat, Apr 19, 13:52
Unknown Object (File)
Sat, Apr 19, 12:36
Unknown Object (File)
Fri, Apr 18, 22:54
Unknown Object (File)
Wed, Apr 16, 14:31
Unknown Object (File)
Sun, Apr 13, 11:34
Unknown Object (File)
Sat, Apr 12, 10:38
Unknown Object (File)
Tue, Apr 8, 19:47
Subscribers
None

Details

Summary

The 2018-02-28 23:30 and 23:02 log entries are correctly considered
UTC by the JS code.

Yet, H2 month title uses local timezone, not UTC one. This triggers
a split of the title according browser local timezones:

  • for local timezones in UTC or UTC-n, the correct month February is printed
  • for local timezones in UTC+n, the +n 'March' is used instead.

This change fixes this bug asking the month in the UTC timezone.

Test Plan

Diff Detail

Repository
rSERVERSLOGDESIGN Servers logs website (design)
Lint
Lint Passed
Unit
No Test Coverage
Branch
fix-date
Build Status
Buildable 2157
Build 2405: arc lint + arc unit