summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSam <sam@basx.dev>2020-10-27 11:12:14 +0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-11-12 12:43:06 +0100
commit895f6e49925ed0ae4bb96dc4d3af17fdc9c4846e (patch)
treed8d0facf3bd5698ae8b2fdb46953d90853b76e8b /docs
parentc448e614c60cc97c6194c62052363f4f501e0953 (diff)
Fixed #32149 -- Added support for years < 1000 to DateFormat.y().
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/builtins.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 1c79f3a2f5..17528cea18 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1379,7 +1379,7 @@ Format character Description Example output
style. Proprietary extension.
``t`` Number of days in the given month. ``28`` to ``31``
**Year**
-``y`` Year, 2 digits. ``'99'``
+``y`` Year, 2 digits with leading zeros. ``'00'`` to ``'99'``
``Y`` Year, 4 digits. ``'1999'``
``L`` Boolean for whether it's a leap year. ``True`` or ``False``
``o`` ISO-8601 week-numbering year, ``'1999'``