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

Conflict with MockDate #272

Open
carlunknown opened this issue Jan 12, 2018 · 0 comments
Open

Conflict with MockDate #272

carlunknown opened this issue Jan 12, 2018 · 0 comments

Comments

@carlunknown
Copy link

I am trying to use MockDate in a project that uses datejs, but there seems to be a conflict:

TypeError: Cannot read property 'dateElementOrder' of undefined when calling Date.parse().

I'm guessing that CultureInfo isn't part of the wrapped/patched Date that MockDate provides.

Any suggestions for work-arounds or other date-mocking tools to try?

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

No branches or pull requests

1 participant