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

Print date in current language format if \date{YYYY-MM-DD} is given a… #25

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

michaelroland
Copy link
Owner

Resolves #18

For non-thesis types, if a date in the form YYYY-MM-DD (ISO date) is given, this change now tries to parse the date and prints it in the language-specific (localized) format (just as \today would do for the current date). Other strings will continue to be used as-is. To print an ISO date as-is, you could now wrap it into curly braces, e.g. \date{{2024-12-20}} to avoid automatic parsing.

@michaelroland michaelroland merged commit b74adaa into master Dec 20, 2024
9 checks passed
@michaelroland michaelroland self-assigned this Dec 20, 2024
@michaelroland michaelroland added the enhancement New feature or request label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ISO date not parsed (but left as-is) for non-thesis type documents
1 participant