forked from pool/python-Delorean
Accepting request 609887 from devel:languages:python:misc
Manipulating datetimes with ease and clarityof older code and makes some small modifications to the `Delorean` API to make it more
Pythonic. 1.0.0 includes support for humanizing a `Delorean` object, as well as outputing a localized string
representing the `Delorean` object.
+ This change introduces the following breaking changes:
* `Delorean.epoch` is a property, not a function.
* `Delorean.midnight` is a property, not a function.
* `Delorean.naive` is a property, not a function.
* `Delorean.timezone` is a property, not a function.
+ delorean/dates.py
* `is_datetime_naive()` no longer returns True when dt is None
* `localize()` works with pytz tzinfo objects
* `normalize()` works with pytz tzinfo objects
* `Delorean.__init__()` accepts tzinfo objects as input to timezone
* `Delorean.timezone()` is now a property
* Added suport for humanizing a `Delorean` object
* Added support for localizing a `Delorean` object for string output
+ delorean/interface.py
* `parse()` understands `dateutil.tz.tzoffset`, `datetutil.tz.tzlocal` and `dateutil.tz.tzutc` and converts those tzinfo
objects into pytz based tzinfo objects. This allows `parse()` to return a `Delorean` object with a `pytz.FixedOffset`
timezone attached to it instead of returning a `Delorean` object converted to UTC
- Implement single-spec version
- Complete spec file rewrite
- Require python-python-dateutil. package was renamed
- Don't run testsuite, there is none
- Add LICENSE.txt and README.rst
- Add runtime dependencies
- created package (version 0.2.0)
OBS-URL: https://build.opensuse.org/request/show/609887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Delorean?expand=0&rev=1
This commit is contained in:
48
python-Delorean.changes
Normal file
48
python-Delorean.changes
Normal file
@@ -0,0 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 16 15:25:07 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 1.0.0
|
||||
+ This release cleans up a lot of older code and makes some small modifications to the `Delorean` API to make it more
|
||||
Pythonic. 1.0.0 includes support for humanizing a `Delorean` object, as well as outputing a localized string
|
||||
representing the `Delorean` object.
|
||||
+ This change introduces the following breaking changes:
|
||||
* `Delorean.epoch` is a property, not a function.
|
||||
* `Delorean.midnight` is a property, not a function.
|
||||
* `Delorean.naive` is a property, not a function.
|
||||
* `Delorean.timezone` is a property, not a function.
|
||||
+ delorean/dates.py
|
||||
* `is_datetime_naive()` no longer returns True when dt is None
|
||||
* `localize()` works with pytz tzinfo objects
|
||||
* `normalize()` works with pytz tzinfo objects
|
||||
* `Delorean.__init__()` accepts tzinfo objects as input to timezone
|
||||
* `Delorean.timezone()` is now a property
|
||||
* Added suport for humanizing a `Delorean` object
|
||||
* Added support for localizing a `Delorean` object for string output
|
||||
+ delorean/interface.py
|
||||
* `parse()` understands `dateutil.tz.tzoffset`, `datetutil.tz.tzlocal` and `dateutil.tz.tzutc` and converts those tzinfo
|
||||
objects into pytz based tzinfo objects. This allows `parse()` to return a `Delorean` object with a `pytz.FixedOffset`
|
||||
timezone attached to it instead of returning a `Delorean` object converted to UTC
|
||||
- Implement single-spec version
|
||||
- Complete spec file rewrite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 26 13:05:39 UTC 2016 - tbechtold@suse.com
|
||||
|
||||
- Require python-python-dateutil. package was renamed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 07:50:48 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Don't run testsuite, there is none
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 09:50:39 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Add LICENSE.txt and README.rst
|
||||
- Add runtime dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 09:06:58 UTC 2013 - prusnak@opensuse.org
|
||||
|
||||
- created package (version 0.2.0)
|
||||
|
||||
Reference in New Issue
Block a user