Opened 8 years ago

Closed 7 years ago

#7262 closed (fixed)

Microsecond dateformat patch

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


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 8 years ago.
The full patch with unittest and doc

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by Simon Greenhill

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 in reply to: ↑ description Changed 8 years ago by telenieko

  • Patch needs improvement set
  • Triage Stage changed from Ready for checkin to Accepted

Replying to zegor:

Updated unitests included.

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

Changed 8 years ago by zegor

The full patch with unittest and doc

comment:3 Changed 8 years ago by zegor

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

comment:4 Changed 8 years ago by mir

  • milestone set to post-1.0

comment:5 Changed 8 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:6 Changed 7 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(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