Opened 7 years ago

Last modified 7 years ago

#30989 closed Cleanup/optimization

Implement `B` time format (Swatch Internet Time) — at Version 1

Reported by: Baptiste Mispelon Owned by: nobody
Component: Utilities Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Baptiste Mispelon)

Since the first public commit, Django has reserved the B time format but raising a NotImplementedError when trying to use it.
According to the docstring, it's supposed to be for the ​Swatch Internet Time.

I've personally never heard of this format and I'm not sure how useful it is, but I suspect this was done to copy ​PHP's date function and its formats.

I'm attaching a pull request that implements the format (I think).

Change History (1)

comment:1 by Baptiste Mispelon, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top