Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing dates #446

Closed
wants to merge 1 commit into from
Closed

Failing dates #446

wants to merge 1 commit into from

Conversation

BridgeAR
Copy link

I got random failures in our tests that seem to be valid dates to me but they get denied anyway.

While testing that with validator 4.2 another date test was failing too.

@chriso
Copy link
Collaborator

chriso commented Oct 26, 2015

Thanks. What's your timezone offset? new Date().getTimezoneOffset()

@BridgeAR
Copy link
Author

-60

@chriso
Copy link
Collaborator

chriso commented Oct 26, 2015

Thanks. Would you mind running the test suite from the #447 branch to see if the issue is still present?

@BridgeAR
Copy link
Author

@chriso my mentioned date works with #447 👍

But the one that I mentioned that it's failing local is still failing. It's confusing to me that travis has no issue but it does not run on my machine.

@chriso
Copy link
Collaborator

chriso commented Oct 26, 2015

The Travis containers have their system timezone set to UTC and unfortunately there's no way (AFAIK) of emulating an alternate timezone in JavaScript.

@chriso
Copy link
Collaborator

chriso commented Oct 26, 2015

Can you try #447 again?

@BridgeAR
Copy link
Author

@chriso still failing

@chriso
Copy link
Collaborator

chriso commented Oct 27, 2015

This should be fixed in version 4.2.1. Thanks for your help!

@chriso chriso closed this Oct 27, 2015
@BridgeAR
Copy link
Author

@chriso you're welcome. All tests pass now. Thx for fixing it so fast :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants