File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,8 @@ This is again shown in the next example which also introduces the ``now()`` func
114
114
115
115
# or to create a date with a timezone of +1 to GMT
116
116
# 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'
124
119
125
120
To accompany ``now() ``, a few other static instantiation helpers exist to create widely known instances.
126
121
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.
1170
1165
1171
1166
Even though, it inherits from the ``timedelta `` class, its behavior is slightly different.
1172
1167
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 .
1174
1169
1175
1170
.. code-block :: python
1176
1171
You can’t perform that action at this time.
0 commit comments