-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Support usetex in date Formatters #18558
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
Conversation
This is consistent with other files.
1b3fb63
to
de1cb4a
Compare
So currently, this just blanket modifies the resulting string to work in TeX mode, but I wonder if it should be more nuanced and change the formatters for only the numbers? |
This seems reasonable, but the tests aren't passing.... |
Ooops, that's because I set the default to |
de1cb4a
to
d22d35e
Compare
I am inclined to merge this as-is because people still have the option of specifying the format strings as they wish (and not relying on us to auto-tex-ify them) and we can down down the route of trying to parse the dateformats and decide which should be strings and which are numbers that should be texified when someone asks for it. |
Thanks for the nudge - I forgot about this.... |
PR Summary
And some small cleanup.
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
andpydocstyle<4
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).