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

Got Invalid Date with timezone on JSC #147

Closed
jhen0409 opened this issue Nov 12, 2022 · 2 comments
Closed

Got Invalid Date with timezone on JSC #147

jhen0409 opened this issue Nov 12, 2022 · 2 comments
Labels

Comments

@jhen0409
Copy link

croner version: v5.3.2

new Cron('* * * * *', { timezone: 'UTC' }).next()
// Got `Invalid Date`

I just confirm it happened in JSC with the following platforms:

  • Safari 16.1
  • React Native v0.69 iOS

It works fine on Chrome / Firebox.

Also, I'm using croner@4.3.14 in production and it works fine.

@Hexagon
Copy link
Owner

Hexagon commented Nov 12, 2022

Thanks! Will have a look at that

@Hexagon Hexagon added the bug label Nov 12, 2022
@Hexagon
Copy link
Owner

Hexagon commented Nov 12, 2022

@jhen0409 Try using 5.3.3, should be fixed now right?

@Hexagon Hexagon closed this as completed Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants