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

Fix parsing of local time starting with "0" #36

Merged
merged 3 commits into from
May 9, 2022

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented May 9, 2022

No description provided.

0xced added 2 commits May 9, 2022 17:24
Currently, the test case with hour == 0 fails with the following exception:
> Tomlyn.TomlException : (1,8) : error : Unable to parse the date time/offset `048:32:00.000`
src/Tomlyn/Parsing/Lexer.cs Outdated Show resolved Hide resolved
src/Tomlyn/Parsing/Lexer.cs Outdated Show resolved Hide resolved
@xoofx xoofx merged commit ff0296f into xoofx:main May 9, 2022
@xoofx
Copy link
Owner

xoofx commented May 9, 2022

Good catch, thanks!

@xoofx xoofx added the bug Something isn't working label May 9, 2022
@0xced 0xced deleted the fix-local-time-parsing branch May 9, 2022 19:02
@0xced
Copy link
Contributor Author

0xced commented May 9, 2022

And it's already published on NuGet, awesome! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants