Opened 5 years ago
Last modified 5 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 )
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).
Note:
See TracTickets
for help on using tickets.