Skip to content

Commit 823c2dc

Browse files
committed
README update for 1.4.8
1 parent 920bd4d commit 823c2dc

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ datetime.datetime(2016, 1, 22, 22, 58, 28, 338060, tzinfo=tzutc())
114114
datetime.datetime(2016, 1, 24, 22, 57, 45, 394470, tzinfo=tzutc())
115115
```
116116

117-
Or you can just import the `datamath` module, this will always give us a native `datetime` object
117+
Or you can just import the `datemath` module, this will always give us a native `datetime` object
118118
```
119119
>>> from datemath import datemath
120120
>>>
@@ -153,9 +153,10 @@ from datemath import dm
153153
```
154154

155155
# 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+
157-
* v1.4.7 - Fixed timezone for date strings: https://github.com/nickmaccarthy/python-datemath/issues/6
158-
* v1.4.5 - Added roundDown functionality. Allows user to specify the default rounding for expressions such as `/d`.
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.
157+
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`.
159160
* example - assuming the time is currently 2016-01-01 12:00:00, we should get the following
160161
```
161162
>>> # now = 2016-01-01 14:00:00+00:00
@@ -164,8 +165,8 @@ from datemath import dm
164165
>>> dm('now/d')
165166
<Arrow [2016-01-01T00:00:00+00:00]>
166167
```
167-
* v1.4.4 - Fixed bug with expression logic and rounding: https://github.com/nickmaccarthy/python-datemath/pull/2
168-
* 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.
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.
169170

170171
# Test
171172
```python tests.py```

0 commit comments

Comments
 (0)