datetime_to_db

safir.database.datetime_to_db(time: datetime.datetime) datetime.datetime
safir.database.datetime_to_db(time: None) None

Strip time zone for storing a datetime in the database.