[docs] datetime.strftime nits
Georg Brandl
georg at python.org
Sat Oct 12 18:23:43 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 11.10.2013 20:42, schrieb Skip Montanaro:
> A small nit with the datetime.strftime documentation: "%s" (lower case s)
> is mentioned in the table for format characters. I looked at the 2.7.5,
> 3.3, and development versions. All were missing this format character. Not
> sure when it was added, but it was there as far back as (at least) 2.4.
> Even if it's not available everywhere (I only have access to Solaris, Linux
> and Mac), it should be documented.
Hi Skip,
our policy has always been to only document the format codes available in
POSIX; %s does not seem to be POSIX-compliant. (There is a sentence to
the effect that there may be additional non-portable codes available.)
We could of course change this, but it would require a survey of the
most used systems and a bit of effort.
cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
iEYEARECAAYFAlJZd48ACgkQN9GcIYhpnLDcdgCfW0207OJW+Jd8n08Up3Fp9075
dWkAoK09TqC4MoxCQLpb0bKFMuGhck1P
=Wnyt
-----END PGP SIGNATURE-----
More information about the docs
mailing list