Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 926 Bytes

CHANGELOG.md

File metadata and controls

37 lines (26 loc) · 926 Bytes

07-07-2020

  • Allow pytz to recognzie tz name in parse_tz() before tzcity()
  • Add bumpversion

06-07-2020

Version 0.3 released.

  • Use tzcity module for limited city name to time zone name mapping.

12-06-2020

  • Add option --in-format to specify the format in which --dt is provided.
  • Add option --out-format to specify the format out of output datetimes.
  • --dt option can now have datetimes of arbitrary format (courtesy of dateutil.parser).
  • Parametrize some tests.

24-05-2020

Version 0.2 released.

  • Modify tzview.tzview() function

Change signature from

def tzview(dt: datetime.datetime,
           from_tz: pytz.tzfile,
           to_tzs: List[pytz.tzfile]) -> List[datetime.datetime]:

to

def tzview(to_tz_strs: List[str],
           from_tz_str: str = 'local',
           dt_str: str = 'now') -> List[datetime.datetime]: