Skip to content

Commit 8ae29b3

Browse files
committed
Updates documentation
1 parent aee28f0 commit 8ae29b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/_docs/instantiation.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ You'll notice above that the timezone (2nd) parameter was passed as a string and
1818
rather than a ``tzinfo`` instance. All timezone parameters have been augmented
1919
so you can pass a ``tzinfo`` instance, string or integer offset to GMT
2020
and the timezone will be created for you.
21+
22+
.. note::
23+
24+
Supported strings for timezones are the one provided by the `IANA time zone database <https://www.iana.org/time-zones>`_.
25+
The special ``local`` string is also supported and will return your current timezone.
26+
2127
This is again shown in the next example which also introduces the ``now()`` function.
2228

2329
.. code-block:: python

0 commit comments

Comments
 (0)