Skip to content

Allow leading zeros in dates#840

Open
pearzt wants to merge 1 commit into
tamasfe:masterfrom
pearzt:fix/leading-zeros-dates
Open

Allow leading zeros in dates#840
pearzt wants to merge 1 commit into
tamasfe:masterfrom
pearzt:fix/leading-zeros-dates

Conversation

@pearzt

@pearzt pearzt commented Jan 22, 2026

Copy link
Copy Markdown

TOML requires dates (and datetimes) to be formatted accourding to RFC3339. With this PR, I propose to update the regex (which is used for the lexer) to accept such values. A test to check this case is included.

Fixes #621

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.

Date ISO 8601 not supported?

1 participant