summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2016-11-18 17:15:10 +0200
committerGitHub <noreply@github.com>2016-11-18 17:15:10 +0200
commitf8b62e5d74a11d572ffb8898d17f72ed09048583 (patch)
tree4b596ca00a9abf71c6b31d168c757791d9317a7f
parent7d377c0001eb367a54a54bb92b1fc64f89b35475 (diff)
parent41dcb1d13cb61b6e0816dd444c640a85059cc881 (diff)
downloadbabel-f8b62e5d74a11d572ffb8898d17f72ed09048583.tar.gz
Merge pull request #450 from ldwoolley/patch-1
Improve Date Fields descriptions for issue #419
-rw-r--r--docs/dates.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/dates.rst b/docs/dates.rst
index 48fd58f..bb3398a 100644
--- a/docs/dates.rst
+++ b/docs/dates.rst
@@ -140,7 +140,10 @@ Date Fields
| | | the padding, but for two letters it also specifies the |
| | | maximum length. |
| +--------+--------------------------------------------------------+
- | | ``Y`` | Same as ``y`` but uses the ISO year-week calendar. |
+ | | ``Y`` | Same as ``y`` but uses the ISO year-week calendar. ISO |
+ | | | year-week increments after completing the last week of |
+ | | | the year. Therefore it may change a few days before or |
+ | | | after ``y``. Recommend use with the ``w`` Symbol. |
| +--------+--------------------------------------------------------+
| | ``u`` | ?? |
+----------+--------+--------------------------------------------------------+
@@ -158,7 +161,9 @@ Date Fields
| | | abbreviation, or four for the full name, or 5 for the |
| | | narrow name. |
+----------+--------+--------------------------------------------------------+
- | Week | ``w`` | Week of year. |
+ | Week | ``w`` | Week of year according to the ISO year-week calendar. |
+ | | | This may have 52 or 53 weeks depending on the year. |
+ | | | Recommend use with the ``Y`` symbol. |
| +--------+--------------------------------------------------------+
| | ``W`` | Week of month. |
+----------+--------+--------------------------------------------------------+