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

LibWeb: Add documentation to the date parser format #2681

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

Conversation

Arhcout
Copy link
Contributor

@Arhcout Arhcout commented Dec 1, 2024

So we don't have to dig in the parser's code

Copy link
Member

@AtkinsSJ AtkinsSJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These same format codes are used in DateTime::to_string() as well. Can they be moved somewhere clearer, maybe into the DateTime header?

// %x: require single number to represent hour and minutes
// %X: require sub second precision
// %Z: require timezone name
// %+: ignore untile next '%'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "untile"

So we don't have to dig in the parser's code
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