Closed
Description
Issue Description
Two tests are failing because of timezone differences.
Steps to reproduce
- Use a computer that has non zero timezone difference
npm test
Expected Results
All green
Actual Outcome
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.): 2.7.1
- Operating System: OSX 10.11.2
- Hardware: Macbook Pro
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Localhost
-
Database
Not relevant, this is just date
Logs/Trace
formatPushTime
✗ should format as ISO string
- Expected '2017-09-06T15:14:01.048' to be '2017-09-06T17:14:01.048', 'No timezone'.
Scheduling pushes in local time
✗ should preserve the push time
- Expected '2017-09-06T15:14:01.048' to be '2017-09-06T17:14:01.048'.
Metadata
Metadata
Assignees
Labels
No labels