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

Allow missing seconds, eg. with "2021-04-25T00:00+Z". #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phmarek
Copy link
Contributor

@phmarek phmarek commented Jun 30, 2022

No description provided.

@death
Copy link

death commented Oct 17, 2022

I've encountered the same issue. It appears parse-timestring implements the grammar of section 5.6 of RFC3339, but this grammar is more useful for formatting than for parsing (things only SHOULD use it). A grammar useful for parsing a timestring is in Appendix A.

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