pipx install strptime-cli
Run strptime
with a date string to see the format string you would need to pass to datetime.datetime.strptime
to parse the date:
$ strptime "2030-01-24 05:45"
%Y-%m-%d %H:%M
$ pip install pytest
$ python tests.py
This package is distributed under the terms of the MIT license.