Skip to content

Version 1.2.0

Latest
Compare
Choose a tag to compare
@CCP-Zeulix CCP-Zeulix released this 22 May 13:35
6f2206d

Version 1.2.0 - "Instance" support

Added

  • The logging package to the ccptools.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() and datetime.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 from any_to_datetime