Version 1.2.0 - "Instance" support
Added
- The
logging
package to theccptools.structs._base
- Methods for casting between Datetime and timestamp (number of seconds since
UNIX Epoch as a float) that work even on Windows when the built in
datetime.timestamp()
anddatetime.fromtimestamp()
methods fail for
negative values and more - Methods for casting between Datetime and "instance" (number of milliseconds
since UNIX Epoch as an int)
Changed
- How
any_to_datetime
handles "ambiguous" numeric values when deciding between
"timestamp", "instance" and "filetime" - How
any_to_datetime
handles strings such that if a given string is a simple
int or float, it's cast and treated as such
Removed
- The
utc
argument fromany_to_datetime