mirror of
https://github.com/angular/angular.git
synced 2026-11-24 15:37:51 -05:00
Previously, the event dates displayed on the angular.io "Events" page (`/events`) was off by one day on timezones with a negative offset from UTC. See https://github.com/angular/angular/pull/41050#issuecomment-788958888. This commit fixes it by using the `getUTC*` methods of the `Date` object to extract the date info, which are not affected by the user's timezone. PR Close #41053