Skip to content

Conversation

@eemeli
Copy link
Member

@eemeli eemeli commented Sep 14, 2021

Fixes #572 by using a different form of new Date(). The constructor parses string input as a UTC date, while numeric input uses the local timezone.

Copy link
Member

@gregtatum gregtatum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eemeli eemeli merged commit 186da02 into projectfluent:master Sep 17, 2021
@eemeli eemeli deleted the fix-date-test branch September 17, 2021 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing FluentDateTime test due to time zone differences of machine running test

2 participants