Skip to content

Commit 66336bc

Browse files
committed
Updates documentation
1 parent 41f6616 commit 66336bc

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

docs/index.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,8 @@ This is again shown in the next example which also introduces the ``now()`` func
114114
115115
# or to create a date with a timezone of +1 to GMT
116116
# during DST then just pass an integer
117-
print(pendulum.now(1).timezone_name))
118-
None
119-
120-
.. note::
121-
122-
You'll notice that when using an integer offset, you don't have access
123-
to the name of the timezone.
117+
print(pendulum.now(1).timezone_name)
118+
'+01:00'
124119
125120
To accompany ``now()``, a few other static instantiation helpers exist to create widely known instances.
126121
The only thing to really notice here is that ``today()``, ``tomorrow()`` and ``yesterday()``,
@@ -1170,7 +1165,7 @@ It has many improvements over the base class.
11701165

11711166
Even though, it inherits from the ``timedelta`` class, its behavior is slightly different.
11721167
The more important to notice is that the native normalization does not happen, this is so that
1173-
it feels more intuituve.
1168+
it feels more intuitive.
11741169

11751170
.. code-block:: python
11761171

0 commit comments

Comments
 (0)