Page MenuHomeDevCentral

Use UTC timezone to determine month heading title
ClosedPublic

Authored by dereckson on Mar 1 2018, 01:09.
Tags
None
Referenced Files
F12427769: D1370.diff
Wed, Nov 5, 09:06
Unknown Object (File)
Tue, Nov 4, 04:22
Unknown Object (File)
Mon, Oct 27, 18:13
Unknown Object (File)
Mon, Oct 27, 09:21
Unknown Object (File)
Mon, Oct 27, 03:29
Unknown Object (File)
Sat, Oct 25, 23:40
Unknown Object (File)
Sat, Oct 25, 17:55
Unknown Object (File)
Fri, Oct 24, 04:54
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