We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aee28f0 commit 8ae29b3Copy full SHA for 8ae29b3
docs/_docs/instantiation.rst
@@ -18,6 +18,12 @@ You'll notice above that the timezone (2nd) parameter was passed as a string and
18
rather than a ``tzinfo`` instance. All timezone parameters have been augmented
19
so you can pass a ``tzinfo`` instance, string or integer offset to GMT
20
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
27
This is again shown in the next example which also introduces the ``now()`` function.
28
29
.. code-block:: python
0 commit comments