refer to time.strftime
This commit is contained in:
parent
de738a1b82
commit
5fae78c09d
|
@ -164,22 +164,22 @@ The :mod:`locale` module defines the following exception and functions:
|
|||
|
||||
.. data:: D_T_FMT
|
||||
|
||||
Get a string that can be used as a format string for :func:`strftime` to
|
||||
Get a string that can be used as a format string for :func:`time.strftime` to
|
||||
represent date and time in a locale-specific way.
|
||||
|
||||
.. data:: D_FMT
|
||||
|
||||
Get a string that can be used as a format string for :func:`strftime` to
|
||||
Get a string that can be used as a format string for :func:`time.strftime` to
|
||||
represent a date in a locale-specific way.
|
||||
|
||||
.. data:: T_FMT
|
||||
|
||||
Get a string that can be used as a format string for :func:`strftime` to
|
||||
Get a string that can be used as a format string for :func:`time.strftime` to
|
||||
represent a time in a locale-specific way.
|
||||
|
||||
.. data:: T_FMT_AMPM
|
||||
|
||||
Get a format string for :func:`strftime` to represent time in the am/pm
|
||||
Get a format string for :func:`time.strftime` to represent time in the am/pm
|
||||
format.
|
||||
|
||||
.. data:: DAY_1 ... DAY_7
|
||||
|
@ -243,24 +243,24 @@ The :mod:`locale` module defines the following exception and functions:
|
|||
then-emperor's reign.
|
||||
|
||||
Normally it should not be necessary to use this value directly. Specifying
|
||||
the ``E`` modifier in their format strings causes the :func:`strftime`
|
||||
the ``E`` modifier in their format strings causes the :func:`time.strftime`
|
||||
function to use this information. The format of the returned string is not
|
||||
specified, and therefore you should not assume knowledge of it on different
|
||||
systems.
|
||||
|
||||
.. data:: ERA_D_T_FMT
|
||||
|
||||
Get a format string for :func:`strftime` to represent date and time in a
|
||||
Get a format string for :func:`time.strftime` to represent date and time in a
|
||||
locale-specific era-based way.
|
||||
|
||||
.. data:: ERA_D_FMT
|
||||
|
||||
Get a format string for :func:`strftime` to represent a date in a
|
||||
Get a format string for :func:`time.strftime` to represent a date in a
|
||||
locale-specific era-based way.
|
||||
|
||||
.. data:: ERA_T_FMT
|
||||
|
||||
Get a format string for :func:`strftime` to represent a time in a
|
||||
Get a format string for :func:`time.strftime` to represent a time in a
|
||||
locale-specific era-based way.
|
||||
|
||||
.. data:: ALT_DIGITS
|
||||
|
|
Loading…
Reference in New Issue