Page MenuHomeDevCentral

Use UTC timezone to determine month heading title
ClosedPublic

Authored by dereckson on Mar 1 2018, 01:09.
Tags
None
Referenced Files
F10176596: D1370.id.diff
Sun, Jun 22, 20:25
Unknown Object (File)
Thu, Jun 19, 00:19
Unknown Object (File)
Wed, Jun 18, 20:14
Unknown Object (File)
Wed, Jun 18, 14:42
Unknown Object (File)
Tue, Jun 17, 19:35
Unknown Object (File)
Fri, Jun 13, 18:19
Unknown Object (File)
Fri, Jun 13, 16:47
Unknown Object (File)
Thu, Jun 12, 07:41
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 Not Applicable
Unit
Tests Not Applicable