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

month 12 invalid range error #261

Closed
fazza4613 opened this issue Mar 18, 2022 · 2 comments
Closed

month 12 invalid range error #261

fazza4613 opened this issue Mar 18, 2022 · 2 comments

Comments

@fazza4613
Copy link

When i parse 0 0 0 1 12/1 * i received this error:
core.js:6014 ERROR Error: Invalid range: 12-12
at parseRange

i think for this code of expression.js

else if (min >= max) {
        throw new Error('Invalid range: ' + val);
      }

at line 327.

I receveid the same error when passing 0 0 0 1 13/1 * but in this case is correct because the range is 1-12

@harrisiirak
Copy link
Owner

Hi @fazza4613!

This the same case as #188. As mentioned this before, not definitely standard behaviour, but something that still could be supported.

@harrisiirak
Copy link
Owner

Currently closing this in favour of #188 (duplicate).

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

2 participants