datetime_from_db¶
- safir.database.datetime_from_db(time: datetime.datetime) datetime.datetime ¶
- safir.database.datetime_from_db(time: None) None
Add the UTC time zone to a naive datetime from the database.
Add the UTC time zone to a naive datetime from the database.