Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 964f205

Browse files
committed
refer to time.strftime
1 parent 554b348 commit 964f205

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/library/locale.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,22 +160,22 @@ The :mod:`locale` module defines the following exception and functions:
160160

161161
.. data:: D_T_FMT
162162

163-
Get a string that can be used as a format string for :func:`strftime` to
163+
Get a string that can be used as a format string for :func:`time.strftime` to
164164
represent date and time in a locale-specific way.
165165

166166
.. data:: D_FMT
167167

168-
Get a string that can be used as a format string for :func:`strftime` to
168+
Get a string that can be used as a format string for :func:`time.strftime` to
169169
represent a date in a locale-specific way.
170170

171171
.. data:: T_FMT
172172

173-
Get a string that can be used as a format string for :func:`strftime` to
173+
Get a string that can be used as a format string for :func:`time.strftime` to
174174
represent a time in a locale-specific way.
175175

176176
.. data:: T_FMT_AMPM
177177

178-
Get a format string for :func:`strftime` to represent time in the am/pm
178+
Get a format string for :func:`time.strftime` to represent time in the am/pm
179179
format.
180180

181181
.. data:: DAY_1 ... DAY_7
@@ -239,24 +239,24 @@ The :mod:`locale` module defines the following exception and functions:
239239
then-emperor's reign.
240240

241241
Normally it should not be necessary to use this value directly. Specifying
242-
the ``E`` modifier in their format strings causes the :func:`strftime`
242+
the ``E`` modifier in their format strings causes the :func:`time.strftime`
243243
function to use this information. The format of the returned string is not
244244
specified, and therefore you should not assume knowledge of it on different
245245
systems.
246246

247247
.. data:: ERA_D_T_FMT
248248

249-
Get a format string for :func:`strftime` to represent date and time in a
249+
Get a format string for :func:`time.strftime` to represent date and time in a
250250
locale-specific era-based way.
251251

252252
.. data:: ERA_D_FMT
253253

254-
Get a format string for :func:`strftime` to represent a date in a
254+
Get a format string for :func:`time.strftime` to represent a date in a
255255
locale-specific era-based way.
256256

257257
.. data:: ERA_T_FMT
258258

259-
Get a format string for :func:`strftime` to represent a time in a
259+
Get a format string for :func:`time.strftime` to represent a time in a
260260
locale-specific era-based way.
261261

262262
.. data:: ALT_DIGITS

0 commit comments

Comments
 (0)