File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ ### 0.3
2
+
3
+ (July 11th, 2016)
4
+
5
+ This version causes major breaking API changes to simplify it and making it more intuitive.
6
+
7
+ - Improves testing by providing a ` test() ` contextmanager.
8
+ - Makes passing a naive ` datetime ` to ` instance() ` default to ` UTC ` .
9
+ - Reduces ` add_xxx() ` /` sub_xxx() ` methods to ` add(**kwargs) ` /` subtract(**kwargs) ` .
10
+ - Changes the ` for_humans() ` method of the ` Interval ` class to ` in_words() ` to avoid confusion with the ` diff_for_humans() ` method.
11
+ - Makes more constants and methods available at module level.
12
+ - Makes the constructor behave like the standard one. No more ` Pendulum() ` .
13
+ - Fixes "sl" locale.
14
+ - Renames the ` to() ` method to ` in_timezone() ` .
15
+ - Removes the comparison methods to just stick with the basic operators.
16
+ - Reduces ` first_of_xxx() ` /` last_of_xxx() ` /` nth_of_xxx() ` methods to ` first_of(unit) ` /` last_of(unit) ` /` nth_of(unit, nth) ` .
17
+ - Reduces ` start_of_xxx() ` /` end_of_xxx() ` methods to ` start_of(unit) ` /` end_of(unit) ` .
18
+ - Removes the ` diff_in_xxx() ` methods from the ` Pendulum ` and adds ` in_xxx() ` methods to the ` Interval ` class.
19
+ - Renames the ` PendulumInterval ` class to simply ` Interval ` .
20
+ - Makes the ` Pendulum ` class immutable.
21
+
22
+
1
23
### 0.2
2
24
3
25
(July 4th, 2016)
4
26
5
- - Makes the `` Pendulum `` class truly inherits from `` datetime ` `
27
+ - Makes the ` Pendulum ` class truly inherits from ` datetime `
6
28
7
29
8
30
### 0.1.1
You can’t perform that action at this time.
0 commit comments