forked from pool/python-Delorean
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
24 lines
941 B
Plaintext
24 lines
941 B
Plaintext
## Default LFS
|
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
|
*.png filter=lfs diff=lfs merge=lfs -text
|
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
|
*.zst filter=lfs diff=lfs merge=lfs -text
|