#34387: DateFormat.P() does not follow PHP's date string format
---------------------------+--------------------------------------
     Reporter:  null       |                    Owner:  nobody
         Type:  Bug        |                   Status:  closed
    Component:  Utilities  |                  Version:  3.2
     Severity:  Normal     |               Resolution:  wontfix
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  1          |                    UI/UX:  0
---------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Thanks for this patch, however it works as
 [https://docs.djangoproject.com/en/stable/ref/templates/builtins/#date
 documented]:
 > ''"Uses a similar format to PHP’s date() function** with some
 differences**."''
 > ''"Time, in 12-hour hours, minutes and ‘a.m.’/’p.m.’, with minutes left
 off if they’re zero and the special-case strings ‘midnight’ and ‘noon’ if
 appropriate. Proprietary extension."''

 We will not make a backward incompatible change to follow the PHP
 implementation.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34387#comment:1>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070186b1d86021-5076aa37-efb8-4480-aad5-59ac5ad0a0ef-000000%40eu-central-1.amazonses.com.

Reply via email to