Page MenuHomeDevCentral

Use UTC timezone to determine month heading title
ClosedPublic

Authored by dereckson on Mar 1 2018, 01:09.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 16:47
Unknown Object (File)
Sat, Nov 9, 07:00
Unknown Object (File)
Sat, Nov 9, 06:00
Unknown Object (File)
Fri, Nov 8, 09:12
Unknown Object (File)
Fri, Nov 8, 09:12
Unknown Object (File)
Thu, Nov 7, 17:46
Unknown Object (File)
Sun, Nov 3, 07:24
Unknown Object (File)
Sun, Nov 3, 07:24
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