Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 689 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 689 Bytes

strptime

PyPI - Version PyPI - Python Version

Installation

pipx install strptime-cli

Usage

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

Testing

$ pip install pytest
$ python tests.py

License

This package is distributed under the terms of the MIT license.