Skip to content

Commit 8072b78

Browse files
committed
Updates documentation
1 parent 3f7a93f commit 8072b78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ The default timezone, except when using the ``now()``, method will always be ``U
4646
.. note::
4747

4848
Also ``is`` comparisons (like ``is_today()``) are done in the timezone of the provided Pendulum instance.
49+
4950
For example, my current timezone is -13 hours from Tokyo.
5051
So ``pendulum.now('Asia/Tokyo').is_today()`` would only return ``False`` for any time past 1 PM my time.
5152
This doesn't make sense since ``now()`` in tokyo is always today in Tokyo.
53+
5254
Thus the comparison to ``now()`` is done in the same timezone as the current instance.
5355

5456

0 commit comments

Comments
 (0)