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

Simplified django.utils.formats.date_format()/time_format() calls. #16423

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

ngnpope
Copy link
Member

@ngnpope ngnpope commented Jan 4, 2023

Split out from #15405 according to the plan in #15405 (comment).

This removes redundant get_format() calls and passing a default value
for the format argument.
@felixxm felixxm changed the title Simplified usage of date formatting utilities. Simplified django.utils.formats.date_format()/time_format() calls. Jan 4, 2023
@felixxm
Copy link
Member

felixxm commented Jan 4, 2023

@ngnpope Thanks 👍

@felixxm felixxm merged commit 0fdc5d7 into django:main Jan 4, 2023
@ngnpope ngnpope deleted the optimize-dateformat-part-1 branch January 4, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants