]> granicus.if.org Git - python/commitdiff
Refer to strftime(3) manpage for platform specific format codes.
authorGeorg Brandl <georg@python.org>
Sun, 13 Oct 2013 16:28:25 +0000 (18:28 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 13 Oct 2013 16:28:25 +0000 (18:28 +0200)
Suggested by Skip Montanaro on docs@.

Doc/library/datetime.rst
Doc/library/time.rst

index 4e922f03a084793ea7f0b24e977934a17880b43b..0de739119424a5486ef755cf48f7ad5f9e1359fa 100644 (file)
@@ -1603,7 +1603,8 @@ values.  If they're used anyway, ``0`` is substituted for them.
 
 The full set of format codes supported varies across platforms, because Python
 calls the platform C library's :func:`strftime` function, and platform
-variations are common.
+variations are common.  To see the full set of format codes supported on your
+platform, consult the :manpage:`strftime(3)` documentation.
 
 The following is a list of all the format codes that the C standard (1989
 version) requires, and these work on all platforms with a standard C
index a4de69f70aad7af47be9ba450692058d5f120e50..1129ea4e90438af36820d00d574e343dc9f1a3aa 100644 (file)
@@ -350,8 +350,10 @@ The module defines the following functions and data items:
       >>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
       'Thu, 28 Jun 2001 14:17:15 +0000'
 
-   Additional directives may be supported on certain platforms, but only the ones
-   listed here have a meaning standardized by ANSI C.
+   Additional directives may be supported on certain platforms, but only the
+   ones listed here have a meaning standardized by ANSI C.  To see the full set
+   of format codes supported on your platform, consult the :manpage:`strftime(3)`
+   documentation.
 
    On some platforms, an optional field width and precision specification can
    immediately follow the initial ``'%'`` of a directive in the following order;