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

Rule with superfluous separator accepted in strict mode (Mo-Fr: 12:00) #86

Open
westnordost opened this issue Jan 10, 2024 · 1 comment

Comments

@westnordost
Copy link
Contributor

westnordost commented Jan 10, 2024

The readme states:

In non-strict mode the following further differences are allowed:
[...]

  • superfluous ":" after weekday range

However, Mo-Fr: 12:00 is parsed without error also in strict mode.

@simonpoole
Copy link
Owner

The comment in the source is

// spec is not clear on this, however ":" is used in real life here a lot

as a tendency I wouldn't change the behaviour as it may simply be a question of this being missed when the specification was created.

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