Skip to content

Commit 546f446

Browse files
committed
Changelog breakout
1 parent 7580dae commit 546f446

File tree

2 files changed

+40
-19
lines changed

2 files changed

+40
-19
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Changelog
2+
================
3+
4+
## 1.4.8 (2019-10-26)
5+
======================
6+
7+
* [FIX] [Issue #9](https://github.com/nickmaccarthy/python-datemath/issues/9) && [Issue #8](https://github.com/nickmaccarthy/python-datemath/issues/8) - Fixing deprecated arrow `replace()` function with `shift()`.
8+
* [FIX] Arrow upgrade to `0.15.2` to fix the above mentioned issues
9+
* [NEW] Breakout of python2 and python3 requirements
10+
* [NEW] Breakout of python2 and python3 specific CICD pipelines
11+
* [NEW] Derecated the following python version (although they may still work, they are no longer supported) - `2.4`,`2.6`,`3.4`,`3.5`
12+
* [FIX] Modifed `tests.py` to account for the timestamp change (tz is now `+0000`, instead of `-0000`)
13+
* [FIX] replaced `ts = ts.replace(tzinfo=tz.gettz(timezone))` with `ts = ts.replace(tzinfo=timezone)` in `datemath.helpers.parseTime()` to fix [Issue #7](https://github.com/nickmaccarthy/python-datemath/issues/7)
14+
15+
## v1.4.7 (2017-11-10)
16+
========================
17+
* [FIX] Fixed timezone for date strings: [Issue #6](https://github.com/nickmaccarthy/python-datemath/issues/6)
18+
19+
## v1.4.5 (2017-03-21)
20+
========================
21+
* [NEW] Added roundDown functionality. Allows user to specify the default rounding for expressions such as `/d`.
22+
* example - assuming the time is currently 2016-01-01 12:00:00, we should get the following
23+
```
24+
>>> # now = 2016-01-01 14:00:00+00:00
25+
>>> dm('now+/d', roundDown=False)
26+
<Arrow [2016-01-01T23:59:00+00:00]>
27+
>>> dm('now/d')
28+
<Arrow [2016-01-01T00:00:00+00:00]>
29+
```
30+
31+
## v1.4.4 (2016-12-28)
32+
========================
33+
* [FIX] Fixed bug with expression logic and rounding: https://github.com/nickmaccarthy/python-datemath/pull/2
34+
35+
## 1.4.3 (2016-03-31)
36+
========================
37+
* [NEW] Floats are now supported for days, hours, and seconds units. Example ```now-2.5d```, ```now-3.2h```. Any other unit other than days, hours, or seconds that is a float will be converted to an int and floored due to the datetime() module not being able to handle them.

README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -152,24 +152,8 @@ from datemath import dm
152152
<Arrow [2017-10-20T09:15:20.000000-08:00]>
153153
```
154154

155-
# Release Notes
156-
* `v1.4.8` - Fixed regressions in `arrow()`, migrated from `replace()` to `shift()`. Added python2 and python3 requirements and tests. Modifed `helpers.py` to support `replace()` for legacy 2.7, and `shift()` for python 3.7. Only python `2.7` and `3.7+` are supported going forward. In a future version, only `3.7+` will be supported.
155+
## Changes
156+
See CHANGELOG.md
157157

158-
* `v1.4.7` - Fixed timezone for date strings: https://github.com/nickmaccarthy/python-datemath/issues/6
159-
* `v1.4.5` - Added roundDown functionality. Allows user to specify the default rounding for expressions such as `/d`.
160-
* example - assuming the time is currently 2016-01-01 12:00:00, we should get the following
161-
```
162-
>>> # now = 2016-01-01 14:00:00+00:00
163-
>>> dm('now+/d', roundDown=False)
164-
<Arrow [2016-01-01T23:59:00+00:00]>
165-
>>> dm('now/d')
166-
<Arrow [2016-01-01T00:00:00+00:00]>
167-
```
168-
* `v1.4.4` - Fixed bug with expression logic and rounding: https://github.com/nickmaccarthy/python-datemath/pull/2
169-
* `v1.4.3` - Floats are now supported for days, hours, and seconds units. Example ```now-2.5d```, ```now-3.2h```. Any other unit other than days, hours, or seconds that is a float will be converted to an int and floored due to the datetime() module not being able to handle them.
170-
171-
# Test
172-
```python tests.py```
173-
174-
Happy date math'ing!
158+
# Happy date math'ing!
175159

0 commit comments

Comments
 (0)