commit | 0991b9bb94036e0f271d223c8db7d81980c76736 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Oct 05 19:44:23 2018 -0700 |
committer | Ned Deily <nad@python.org> | Fri Oct 05 22:44:23 2018 -0400 |
tree | 3d559c81a935a1b5bad87b775778ad18e74532de | |
parent | 2fcaaaca520670123224b6e84068f5e453c04f07 [diff] |
[3.7] bpo-34158: Documentation UTC offset update (GH-8377) (GH-9732) * Documentation of UTC offset update Since changes in the UTC offset that allows sub-minute offsets, the documentation needs update: - "%z" format code documentation update Karthikeyan Singaravelan commented on bugs.python.org: Added as part of 018d353c1c8c87767d2335cd884017c2ce12e045 and a fix regarding duplicate words for that part was added at bac2d5ba30339298db7d4caa9c8cd31d807cf081. Relevant format string at https://github.com/python/cpython/pull/2896/filesGH-diff-25e2d173c84057d069b7890450714eddR214. Relevant test case with 6-digit string for microsecond : https://github.com/python/cpython/pull/2896/filesGH-diff-acc40bec51c7de832de3361db3edae52R309. Table at https://docs.python.org/3.7/library/datetime.htmlGH-strftime-and-strptime-behavior could also be updated with microseconds being optional in the second column %z | UTC offset in the form ±HHMM[SS] (empty string if the object is naive). | (empty), +0000, -0400, +1030 - isoformat documentation update According to me, needs confirmation: Relevant format string at https://github.com/python/cpython/pull/4699/filesGH-diff-25e2d173c84057d069b7890450714eddR176 Relevant test case at https://github.com/python/cpython/pull/4699/filesGH-diff-25e2d173c84057d069b7890450714edd * From Martin Panter: some style improvment; From @pganssle: using f for fractional part of seconds in all file. (cherry picked from commit 92878829c31ab2fc71c60555ce87a5f6cbc876f0) Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>