Opened 9 years ago

Closed 9 years ago

#26218 closed Uncategorized (invalid)

You mention php for the date formatter. Do you mean Python?

Reported by: Joe Owned by: nobody
Component: Documentation Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In this document, line 287:

https://github.com/django/django/blob/master/docs/intro/overview.txt

The doc says, "In this case, the date filter formats a Python datetime object in
the given format (as found in PHP's date function)."

Why does it say PHP's date function? Does you mean Python?

Change History (2)

in reply to:  description comment:1 by Abu Ashraf Masnun, 9 years ago

Replying to joeg816:

In this document, line 287:

https://github.com/django/django/blob/master/docs/intro/overview.txt

The doc says, "In this case, the date filter formats a Python datetime object in
the given format (as found in PHP's date function)."

Why does it say PHP's date function? Does you mean Python?

I think it's correct and intentional. The date filter format is similar to PHP's date() function.

http://php.net/manual/en/function.date.php

comment:2 by Marten Kenbeek, 9 years ago

Resolution: invalid
Status: newclosed

Given the changes in 55a2d5b577bcf988d33ca4c8decfae6e96f58c7b, this is indeed correct and intentional.

Note: See TracTickets for help on using tickets.
Back to Top