1
- ### 0.5.5
1
+ # Change Log
2
2
3
- (September 1st, 2016)
3
+ ## [ Unreleased ]
4
4
5
- - [ Fix] Fixes local timezone loading for unix systems.
6
- - [ Fix] Fixes potential ` AttributeError ` in ` between ` method. (Thanks to [ iv597] ( https://github.com/iv597 ) )
5
+ ### Added
7
6
8
- ### 0.5.4
7
+ - Adds an option to control transition normalization behavior.
8
+ - Adds a separator keyword argument to ` Interval.in_words() ` method.
9
+ - Adds an alternative formatter.
10
+ - Adds support for pretty much any ` tzinfo ` instance in the ` instance() ` method.
11
+ - Adds an ` intersect() ` method to the ` Period ` class.
9
12
10
- (August 30th, 2016)
13
+ ### Changed
11
14
12
- - [ Fix] Fixes broken previous release.
15
+ - Improves meridians formatting by supporting minutes.
16
+ - Changes behavior of ` create*() ` methods (time now defaults to ` 00:00:00 ` )
13
17
14
- (August 29th, 2016)
18
+ ### Fixed
15
19
16
- - [ Fix] Fixes setters and modifiers (start_of/end_of) to properly apply DST transitions.
17
- - [ Fix] Fixes timezone file loading on some installs (See [ #34 ] ( https://github.com/sdispater/pendulum/issues/34 ) )
20
+ - Fixes setters and modifiers (start_of/end_of) to properly apply transitions.
21
+ - Fixes issue when compiling on 32 bit systems. (Thanks to [ guyzmo] ( https://github.com/guyzmo ) )
22
+ - Fixes NameError Exception on Python 3.2. (Thanks to [ guyzmo] ( https://github.com/guyzmo ) )
23
+ - Fixes absolute intervals.
24
+
25
+
26
+ ## [ 0.5.5] - 2016-09-01
27
+
28
+ ### Fixed
29
+
30
+ - Fixes local timezone loading for unix systems.
31
+ - Fixes potential ` AttributeError ` in ` between ` method. (Thanks to [ iv597] ( https://github.com/iv597 ) )
32
+
33
+
34
+ ## [ 0.5.4] - 2016-08-30
35
+
36
+ ### Fixed
37
+
38
+ - Fixes broken previous release.
39
+
40
+
41
+ ## [ 0.5.3] - 2016-08-29
42
+
43
+ ### Fixed
44
+
45
+ - Fixes setters and modifiers (start_of/end_of) to properly apply DST transitions.
46
+ - Fixes timezone file loading on some installs (See [ #34 ] ( https://github.com/sdispater/pendulum/issues/34 ) )
18
47
(Thanks to [ mayfield] ( https://github.com/mayfield ) )
19
48
20
- ### 0.5.2
21
49
22
- (August 22nd, 2016)
50
+ ## [ 0.5.2] - 2016-08-22
51
+
52
+ ### Added
53
+
54
+ - Adds a small speedup when changing timezones.
55
+
56
+ ### Changed
23
57
24
- - [ Fix] Fixes ` TimezoneInfo.utcoffset() ` method.
25
- - [ Fix] Fixes arithmetic operations on intervals not returning intervals.
26
- - [ Fix] Allows Pendulum instances comparison to None . (Thanks to [ jkeyes] ( https://github.com/jkeyes ) )
27
- - [ Feature] Adds a small speedup when changing timezones.
28
- - [ Feature] Makes .offset_hours return a float.
58
+ - Makes ` .offset_hours ` return a float.
29
59
60
+ ### Fixed
30
61
31
- ### 0.5.1
62
+ - Fixes ` TimezoneInfo.utcoffset() ` method.
63
+ - Fixes arithmetic operations on intervals not returning intervals.
64
+ - Allows Pendulum instances comparison to None . (Thanks to [ jkeyes] ( https://github.com/jkeyes ) )
32
65
33
- (August 18th, 2016)
34
66
35
- - [ Fix] Fixes ` now() ` not behaving properly when given a timezone.
36
- - [ Fix] Fixes double file opening when getting local timezone. (Thanks to [ yggdr] ( https://github.com/yggdr ) )
37
- - [ Fix] Fixes ` pt_BR ` locale. (Thanks to [ YomoFuno] ( https://github.com/YomoFuno ) )
38
- - [ Fix] Fixes ` pl ` locale. (Thanks to [ MichalTHEDUDE] ( https://github.com/MichalTHEDUDE ) )
67
+ ## [ 0.5.1] - 2016-08-18
39
68
69
+ ### Fixed
40
70
41
- ### 0.5
71
+ - Fixes ` now() ` not behaving properly when given a timezone.
72
+ - Fixes double file opening when getting local timezone. (Thanks to [ yggdr] ( https://github.com/yggdr ) )
73
+ - Fixes ` pt_BR ` locale. (Thanks to [ YomoFuno] ( https://github.com/YomoFuno ) )
74
+ - Fixes ` pl ` locale. (Thanks to [ MichalTHEDUDE] ( https://github.com/MichalTHEDUDE ) )
42
75
43
- (August 15th, 2016)
76
+
77
+ ## [ 0.5] - 2016-08-15
44
78
45
79
This version introduces a new timezone library which improves
46
80
timezone switching and behavior around DST transition times.
47
81
82
+ ### Added
83
+
48
84
- Adds a new timezone library to properly normalize and localize datetimes.
49
85
`` Pendulum `` no longer relies on `` pytz `` .
50
- Check the [ Documentation] ( / docs/#timezone ) to see what has changed exactly.
86
+ Check the [ Documentation] ( https://pendulum.eustace.io/ docs/#timezones ) to see what has changed exactly.
51
87
52
88
53
- ### 0.4
54
-
55
- (July 26th, 2016)
89
+ ## [ 0.4] - 2016-07-26
56
90
57
91
This version mostly brings the new `` Period `` class and improves performances overall.
58
92
93
+ ### Added
94
+
59
95
- Adds the ` Period ` class, which basically is a datetime-aware interval.
96
+
97
+ ### Changed
98
+
60
99
- Makes the ` format() ` method support a ` locale ` keyword argument.
61
100
- Changes custom directives. ` %P ` becomes ` %_z ` and ` %t ` becomes ` %_t ` .
62
- Basically, all new custom directives will be in the form ` %_{directive} `
101
+ Basically, all new custom directives will be in the form ` %_{directive} ` .
102
+
103
+ ### Fixed
104
+
63
105
- Fixes singular for negative values of intervals.
64
106
65
- ### 0.3.1
66
107
67
- (July 13th, 2016)
108
+ ## [ 0.3.1 ] - 2016-07-13
68
109
69
- - Fixes parsing of string with partial offset.
110
+ ### Fixed
70
111
112
+ - Fixes parsing of string with partial offset.
71
113
72
- ### 0.3
73
114
74
- (July 11th, 2016)
115
+ ## [ 0.3 ] - 2016-07-11
75
116
76
117
This version causes major breaking API changes to simplify it and making it more intuitive.
77
118
119
+ ### Added
120
+
78
121
- Improves testing by providing a ` test() ` contextmanager.
122
+
123
+
124
+ ### Changed
125
+
79
126
- Makes passing a naive ` datetime ` to ` instance() ` default to ` UTC ` .
80
127
- Reduces ` add_xxx() ` /` sub_xxx() ` methods to ` add(**kwargs) ` /` subtract(**kwargs) ` .
81
128
- Changes the ` for_humans() ` method of the ` Interval ` class to ` in_words() ` to avoid confusion with the ` diff_for_humans() ` method.
82
129
- Makes more constants and methods available at module level.
83
130
- Makes the constructor behave like the standard one. No more ` Pendulum() ` .
84
- - Fixes "sl" locale.
85
131
- Renames the ` to() ` method to ` in_timezone() ` .
86
132
- Removes the comparison methods to just stick with the basic operators.
87
133
- Reduces ` first_of_xxx() ` /` last_of_xxx() ` /` nth_of_xxx() ` methods to ` first_of(unit) ` /` last_of(unit) ` /` nth_of(unit, nth) ` .
@@ -90,27 +136,50 @@ This version causes major breaking API changes to simplify it and making it more
90
136
- Renames the ` PendulumInterval ` class to simply ` Interval ` .
91
137
- Makes the ` Pendulum ` class immutable.
92
138
139
+ ### Fixed
140
+
141
+ - Fixes "sl" locale.
93
142
94
- ### 0.2
95
143
96
- (July 4th, 2016)
144
+ ## [ 0.2 ] - 2016-07-04
97
145
98
- - Makes the ` Pendulum ` class truly inherits from ` datetime `
146
+ ### Changed
99
147
148
+ - Makes the ` Pendulum ` class truly inherits from ` datetime ` .
100
149
101
- ### 0.1.1
102
150
103
- (July 4th, 2016)
151
+ ## [ 0.1.1 ] - 2016-07-04
104
152
105
- - Adds support for the ` TZ ` environment variable
106
- - Adds ` closest() ` /` farthest() ` comparison methods
107
- - Makes ` set_test_now() ` available at module level
153
+ ### Added
154
+
155
+ - Adds support for the ` TZ ` environment variable.
156
+ - Adds ` closest() ` /` farthest() ` comparison methods.
108
157
- Adds min/max attributes. Renames min/max methods.
158
+
159
+ ### Changed
160
+
161
+ - Makes ` set_test_now() ` available at module level.
162
+
163
+ ### Fixed
164
+
109
165
- Fixes ` diff_for_humans() ` method when setting locale.
110
166
111
167
112
- ### 0.1
168
+ ## [ 0.1] - 2016-07-04
169
+
170
+ Initial release
113
171
114
- (July 4th, 2016)
115
172
116
- - Initial release
173
+ [ Unreleased ] : https://github.com/sdispater/pendulum/compare/0.5.5...HEAD
174
+ [ 0.5.5 ] : https://github.com/sdispater/pendulum/releases/tag/0.5.5
175
+ [ 0.5.4 ] : https://github.com/sdispater/pendulum/releases/tag/0.5.4
176
+ [ 0.5.3 ] : https://github.com/sdispater/pendulum/releases/tag/0.5.3
177
+ [ 0.5.2 ] : https://github.com/sdispater/pendulum/releases/tag/0.5.2
178
+ [ 0.5.1 ] : https://github.com/sdispater/pendulum/releases/tag/0.5.1
179
+ [ 0.5 ] : https://github.com/sdispater/pendulum/releases/tag/0.5
180
+ [ 0.4 ] : https://github.com/sdispater/pendulum/releases/tag/0.4
181
+ [ 0.3.1 ] : https://github.com/sdispater/pendulum/releases/tag/0.3.1
182
+ [ 0.3 ] : https://github.com/sdispater/pendulum/releases/tag/0.3
183
+ [ 0.2 ] : https://github.com/sdispater/pendulum/releases/tag/0.2
184
+ [ 0.1.1 ] : https://github.com/sdispater/pendulum/releases/tag/0.1.1
185
+ [ 0.1 ] : https://github.com/sdispater/pendulum/releases/tag/0.1
0 commit comments