Releases: BobDotCom/time_str
Releases · BobDotCom/time_str
v1.0.0
https://pypi.org/project/time_str/1.0.0/
What's changed
Added
parse_interval
shortcut function.- Type hints
max_unit
kwarg toIntervalConverter
constructor andparse_interval
function.- New precise methods to
IntervalConverter
for precise conversions:
timedelta_precise()
anddatetime_precise()
. - New
IntervalConverter.datetime_relative()
shortcut method.
Changed
- Renamed
Converter
toIntervalConverter
. input_string
attribute ofIntervalConverter
is now a read-only property.IntervalConverter.convert()
is nowIntervalConverter.timedelta_relative()
.- Dropped support for python 3.6
Removed
time_str.convert
shortcut function.converted_string
,split_string
,pattern
,raw_output
andoutput
attributes of
IntervalConverter
have been removed or are now private.
Full Changelog: v0.1.1...v1.0.0
v0.1.2
Full Changelog: v0.1.1...v0.1.2
v0.0.4
Full Changelog: v0.0.3-post.1...v0.0.4
v0.1.1
Full Changelog: v0.1.0-post.2...v0.1.1
v0.1.0-post.2
v0.0.3-post.1
Full Changelog: v0.0.3...v0.0.3-post.1
v0.0.3
Full Changelog: v0.0.3-dev.2...v0.0.3
v0.0.3-dev.2
Full Changelog: v0.0.3-dev.1...v0.0.3-dev.2
v0.0.3-dev.1
Full Changelog: v0.0.2-post.1...v0.0.3-dev.1
v0.0.2-post.1
Full Changelog: v0.0.2...v0.0.2-post.1