Opened 17 years ago

Closed 15 years ago

#7262 closed (fixed)

Microsecond dateformat patch

Reported by: zegor Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords: microsecond dateformat
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Simple patch to add 'c' (ISO Format with microseconds) and 'u' (microseconds) formats to django.utils.dateformat module.
Theses flags have been added in PHP 5.
Useful when dealing with high precision timestamp.
Updated unitests included.

Attachments (1)

microsecond.patch (2.9 KB ) - added by zegor 16 years ago.
The full patch with unittest and doc

Download all attachments as: .zip

Change History (7)

comment:1 by Simon Greenhill, 16 years ago

Triage Stage: UnreviewedReady for checkin

in reply to:  description comment:2 by Marc Fargas, 16 years ago

Patch needs improvement: set
Triage Stage: Ready for checkinAccepted

Replying to zegor:

Updated unitests included.

Where? the patch does not change the test neither the documentation.

by zegor, 16 years ago

Attachment: microsecond.patch added

The full patch with unittest and doc

comment:3 by zegor, 16 years ago

Trac seems to eat some parts of my patch when viewing it. Download the file to see the full patch.

comment:4 by Michael Radziej, 16 years ago

milestone: post-1.0

comment:5 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:6 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: newclosed

(In [12058]) Fixed #7262 - Added ISO 8601 and microsecond format string to utils.dateformat. Thanks zegor.

Note: See TracTickets for help on using tickets.
Back to Top