Commit f772b38
authored
Fix a typo in "Shifting time to transition" example (#559)
```python3
>>> import pendulum
>>> dt = pendulum.datetime(2013, 3, 31, 1, 59, 59, 999999, tz='Europe/Paris')
>>> print(dt)
2013-03-31T01:59:59.999999+01:00
>>> dt = dt.add(microseconds=1)
>>> print(dt)
2013-03-31T03:00:00+02:00
>>> dt.subtract(microseconds=1)
DateTime(2013, 3, 31, 1, 59, 59, 999999, tzinfo=Timezone('Europe/Paris'))
>>> print(dt.subtract(microseconds=1))
2013-03-31T01:59:59.999999+01:00
>>>
```1 parent 599b44b commit f772b38
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments