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

options/ansi: Various fixes to strftime #1079

Merged
merged 13 commits into from
Jul 6, 2024
Merged

Conversation

Dennisbonke
Copy link
Member

This PR fixes 2 bugs and implements 5 new modifiers for strftime.
These were all found while running the testsuite from glib.

Copy link
Member

@no92 no92 left a comment

Choose a reason for hiding this comment

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

One complaint, other than that LGTM.

options/ansi/generic/time-stubs.cpp Outdated Show resolved Hide resolved
Copy link
Member

@no92 no92 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@no92 no92 left a comment

Choose a reason for hiding this comment

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

Ah, this is missing tests.

@no92
Copy link
Member

no92 commented Jul 6, 2024

Added tests, rebased on master and fixed %P to use nl_langinfo instead of hardcoding.

@no92 no92 force-pushed the strftime branch 2 times, most recently from f60b958 to b4b6fb6 Compare July 6, 2024 16:28
@no92 no92 merged commit 3fc8753 into managarm:master Jul 6, 2024
34 checks passed
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.

None yet

2 participants