Page MenuHomeDevCentral

Use UTC timezone to determine month heading title
ClosedPublic

Authored by dereckson on Mar 1 2018, 01:09.
Tags
None
Referenced Files
F24887476: D1370.diff
Mon, Mar 16, 01:00
Unknown Object (File)
Sat, Mar 14, 17:42
Unknown Object (File)
Wed, Mar 11, 05:09
Unknown Object (File)
Sat, Mar 7, 10:04
Unknown Object (File)
Fri, Feb 27, 11:27
Unknown Object (File)
Fri, Feb 27, 11:23
Unknown Object (File)
Fri, Feb 27, 11:23
Unknown Object (File)
Thu, Feb 26, 09:17
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