Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Add newDateUTC to run the sanity.js on CI #194

Merged
merged 1 commit into from
Jul 1, 2016

Conversation

watilde
Copy link
Contributor

@watilde watilde commented Jun 29, 2016

The following test case can be falling depending on the timezone of the machine execute tests(e.g. the error on CI). To fix the red light, let me add a helper function to create a Date object from UTC into the sanity.js.

  • }).format(new Date('Tue Mar 01 2016 14:08:39 GMT-0500 (EST)')), '2:08 PM', 'missing leading 0 on minutes');

@caridy
Copy link
Collaborator

caridy commented Jul 1, 2016

awesome @watilde, this was driving me crazy because I constant switch between east coast and west coast via VPN.

@caridy caridy merged commit d95d690 into andyearnshaw:master Jul 1, 2016
@watilde watilde deleted the fix/tests branch July 2, 2016 11:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants