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

Support %F, %T, and more in strptime #944

Merged
merged 3 commits into from
Feb 14, 2022
Merged

Support %F, %T, and more in strptime #944

merged 3 commits into from
Feb 14, 2022

Conversation

johnkerl
Copy link
Owner

This is one in a series of several PRs for #882. Here we add some of the 'shorthand' formats from the C library's strptime, e.g. %F for %Y-%m-%d and %T for %H:%M:%S.

On this PR is simply the source-code-level support for these, and unit-test files. Better online help including explicit tabulation of strptime and strftime options available in Miller will be on a separate PRs.

@johnkerl johnkerl merged commit 9d01597 into main Feb 14, 2022
@johnkerl johnkerl deleted the strptime-F-T branch February 14, 2022 00:38
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.

1 participant