Skip to content

Instantly share code, notes, and snippets.

View kristaph's full-sized avatar

Kristaps Gailis kristaph

View GitHub Profile
def parse_datetime(d):
"""
Datetime parser
Creates datetimes from input into format yyyy-mm-dd hh:mm:ss
Needs proper validation!
Should accept following:
yyyy