This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
'update date handling' unit tests fail for some timezones #12370
Labels
Milestone
Comments
i also noticed this but forgot about new zealand being on earth: #12192 |
actually it looks like 10:30 AM UTC falls on the same day in every timezone :). i can fix this |
diracdeltas
added a commit
that referenced
this issue
Dec 22, 2017
fix #12370 by changing the test to use a time of day that is on the same day in all timezones Test Plan: Change local timezone to New Zealand unittests should pass
10 tasks
petemill
pushed a commit
that referenced
this issue
Dec 22, 2017
fix #12370 by changing the test to use a time of day that is on the same day in all timezones Test Plan: Change local timezone to New Zealand unittests should pass
luixxiul
added
QA/no-qa-needed
QA/test-plan-specified
release-notes/exclude
and removed
QA/no-qa-needed
labels
Dec 22, 2017
This was referenced Jun 11, 2018
This was referenced Jun 19, 2018
Verified on Windows 10 x64 using
Verified on macOS 10.13.4 x64 using the following build:
Verified on Ubuntu 17.10 x64
|
kjozwiak
added
release-notes/include
QA/checked-macOS
and removed
QA/no-qa-needed
labels
Jun 20, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Test plan
#12372 (comment)
Description
The following test fails, because the epoch
1510687381887
is not 2017-11-14 in every timezone. For example I ran the tests in the NZ timezone, where that time is 2017-11-15. I would change this myself to a more universal time, but it's unclear if any real code which relies on this needs to take timezone in to account.Steps to Reproduce
npm run unittest -- --grep "update date handling"
The text was updated successfully, but these errors were encountered: