Ticket #16392: c_formatter_doc2.patch

File c_formatter_doc2.patch, 1.3 KB (added by ybon, 13 years ago)

minor nitpicking

  • docs/ref/templates/builtins.txt

    diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
    index 3ab8a5d..bdac556 100644
    a b Available format strings:  
    12511251    A                 ``'AM'`` or ``'PM'``.                     ``'AM'``
    12521252    b                 Month, textual, 3 letters, lowercase.     ``'jan'``
    12531253    B                 Not implemented.
    1254     c                 ISO 8601 Format.                          ``2008-01-02T10:30:00.000123``
     1254    c                 ISO 8601 format. (Note: unlike others     ``2008-01-02T10:30:00.000123+02:00``,
     1255                      formatters, such as "Z", "O" or "r",      or ``2008-01-02T10:30:00.000123`` if the datetime is naive
     1256                      the "c" formatter will not add timezone
     1257                      offset if value is a `naive datetime`_.)
    12551258    d                 Day of the month, 2 digits with           ``'01'`` to ``'31'``
    12561259                      leading zeros.
    12571260    D                 Day of the week, textual, 3 letters.      ``'Fri'``
    used, without applying any localization.  
    13431346.. versionchanged:: 1.2
    13441347    Predefined formats can now be influenced by the current locale.
    13451348
     1349.. _naive datetime: http://docs.python.org/library/datetime.html#datetime.tzinfo
     1350
    13461351.. templatefilter:: default
    13471352
    13481353default
Back to Top