1
0
mirror of https://github.com/django/django.git synced 2025-03-24 16:20:46 +00:00
Nick Pope 41ca2afd1c Simplified django.utils.dateformat.DateFormat.O()/t()/e() a bit.
O() - we should try to avoid calling specifier methods from each other
to avoid extra function call overhead. In addition we end up, in this
case, duplicating the ambiguous/imaginary datetime checks. We're also
going to be looking at simplifying things by having all of these
specifier methods return strings and not an random mix of types.

t() - the value can only be one of 28, 29, 30, or 31. As such, there is
no need to zero-pad to a width of two.
2023-01-05 05:59:26 +01:00
..
2022-03-08 14:50:06 +01:00
2022-12-20 19:34:59 +01:00