@@ -43,7 +43,7 @@ given timezone to properly handle any transition that might have occurred.
43
43
pendulum.set_transition_rule(pendulum.PRE_TRANSITION )
44
44
45
45
pendulum.create(2013 , 3 , 31 , 2 , 30 , 0 , 0 , ' Europe/Paris' )
46
- ' 2013-03-31T02 :30:00+01:00'
46
+ ' 2013-03-31T01 :30:00+01:00'
47
47
pendulum.create(2013 , 10 , 27 , 2 , 30 , 0 , 0 , ' Europe/Paris' )
48
48
' 2013-10-27T02:30:00+02:00'
49
49
@@ -75,7 +75,7 @@ given timezone to properly handle any transition that might have occurred.
75
75
76
76
dt = Pendulum(2013 , 3 , 31 , 2 , 30 , 0 , 0 , ' Europe/Paris' , fold = 0 )
77
77
dt.isoformat()
78
- ' 2013-03-31T02 :30:00+01:00'
78
+ ' 2013-03-31T01 :30:00+01:00'
79
79
80
80
dt = Pendulum(2013 , 3 , 31 , 2 , 30 , 0 , 0 , ' Europe/Paris' , fold = 1 )
81
81
dt.isoformat()
@@ -94,7 +94,7 @@ Shifting time to transition
94
94
95
95
So, what happens when you add time to a ``Pendulum `` instance and stumble upon
96
96
a transition time?
97
- Well, ``Pendulum ``, provided with the context of the previous instance, will
97
+ Well ``Pendulum ``, provided with the context of the previous instance, will
98
98
adopt the proper behavior and apply the transition accordingly.
99
99
100
100
.. code-block :: python
@@ -161,7 +161,7 @@ when adding and subtracting time around transition times.
161
161
# By default, fold is set to 0
162
162
dt = paris.convert(dt)
163
163
dt.isoformat()
164
- ' 2013-03-31T02 :30:00+01:00'
164
+ ' 2013-03-31T01 :30:00+01:00'
165
165
166
166
dt = datetime(2013 , 3 , 31 , 2 , 30 , fold = 1 )
167
167
dt = paris.convert(dt)
@@ -229,7 +229,7 @@ when adding and subtracting time around transition times.
229
229
dt = datetime(2013 , 3 , 31 , 2 , 30 )
230
230
dt = tz.convert(dt, dst_rule = tz.PRE_TRANSITION )
231
231
dt.isoformat()
232
- ' 2013-03-31T02 :30:00+01:00'
232
+ ' 2013-03-31T01 :30:00+01:00'
233
233
tz.convert(dt, dst_rule = tz.TRANSITION_ERROR )
234
234
# NonExistingTime: The datetime 2013-03-31 02:30:00 does not exist.
235
235
0 commit comments