#30989: Remove not implemented `B` time format (Swatch Internet Time).
--------------------------------------+------------------------------------
     Reporter:  Baptiste Mispelon     |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Utilities             |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Baptiste Mispelon):

 * has_patch:  0 => 1


Old description:

> 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
> [https://en.wikipedia.org/wiki/Swatch_Internet_Time 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
> [https://www.php.net/manual/en/function.date.php PHP's date function] and
> its formats.
>
> I'm attaching a pull request that implements the format (I think).

New description:

 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
 [https://en.wikipedia.org/wiki/Swatch_Internet_Time 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
 [https://www.php.net/manual/en/function.date.php PHP's date function] and
 its formats.

 It seems safe to delete the stub.

--

Comment:

 I've opened a new PR that deletes the stub:
 https://github.com/django/django/pull/12092

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30989#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.3cf7a6101f1a864dd883574a7e9b8b58%40djangoproject.com.

Reply via email to