Skip to content

Fix: What's New entries show 21st rather than 22nd

Alper Akgun requested to merge 421061-fix-bug-whats-new-date into master

What does this MR do and why?

Fix: What's New entries show 21st rather than 22nd

The reason is that when calling new Date() on a string, a date of the form 'YYYY-MM-DD' is parsed as UTC meanwhile a date of the form 'MM/DD/YYYY' is parsed in local timezone. Similar issue

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  • Change your time zone to a US one
  • Run GDK and go to HELP/What's new.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #421061 (closed)

Edited by Alper Akgun

Merge request reports

Loading