File size: 150 Bytes
9041389
 
 
 
 
 
 
1
2
3
4
5
6
7
import datetime

DATE_FMT = "%Y-%m-%d"


def parse_date(date_str: str) -> datetime.datetime:
    return datetime.datetime.strptime(date_str, DATE_FMT)