#16906: Avoid strftime when isoformat can do the job
-------------------------------------+-------------------------------------
Reporter: aaugustin | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: 1.3
Component: Core (Other) | Resolution: fixed
Severity: Normal | Triage Stage: Ready for
Keywords: | checkin
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: new => closed
* resolution: => fixed
Comment:
In [16978]:
{{{
#!CommitTicketReference repository="" revision="16978"
Fixed #16906 -- Format datetimes with str/unicode instead of strftime
where possible: it's faster and it works for all dates.
Also ensured that datetime_safe is used wherever strftime is called on
dates/datetimes that may be before 1900.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/16906#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.