refer to time.strftime
This commit is contained in:
parent
554b3481fa
commit
964f205a34
|
@ -160,22 +160,22 @@ The :mod:`locale` module defines the following exception and functions:
|
||||||
|
|
||||||
.. data:: D_T_FMT
|
.. 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.
|
represent date and time in a locale-specific way.
|
||||||
|
|
||||||
.. data:: D_FMT
|
.. 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.
|
represent a date in a locale-specific way.
|
||||||
|
|
||||||
.. data:: T_FMT
|
.. 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.
|
represent a time in a locale-specific way.
|
||||||
|
|
||||||
.. data:: T_FMT_AMPM
|
.. 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.
|
format.
|
||||||
|
|
||||||
.. data:: DAY_1 ... DAY_7
|
.. data:: DAY_1 ... DAY_7
|
||||||
|
@ -239,24 +239,24 @@ The :mod:`locale` module defines the following exception and functions:
|
||||||
then-emperor's reign.
|
then-emperor's reign.
|
||||||
|
|
||||||
Normally it should not be necessary to use this value directly. Specifying
|
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
|
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
|
specified, and therefore you should not assume knowledge of it on different
|
||||||
systems.
|
systems.
|
||||||
|
|
||||||
.. data:: ERA_D_T_FMT
|
.. 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.
|
locale-specific era-based way.
|
||||||
|
|
||||||
.. data:: ERA_D_FMT
|
.. 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.
|
locale-specific era-based way.
|
||||||
|
|
||||||
.. data:: ERA_T_FMT
|
.. 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.
|
locale-specific era-based way.
|
||||||
|
|
||||||
.. data:: ALT_DIGITS
|
.. data:: ALT_DIGITS
|
||||||
|
|
Loading…
Reference in New Issue