mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-11 18:39:30 +00:00
style: formatting
This commit is contained in:
parent
e414f3b8fd
commit
c3cec36ad4
|
@ -708,7 +708,9 @@ class Backups:
|
|||
# assume it is in localtime
|
||||
offset = timedelta(seconds=time.localtime().tm_gmtoff)
|
||||
datetime_created = datetime_created - offset
|
||||
return datetime.combine(datetime_created.date(), datetime_created.time(),timezone.utc)
|
||||
return datetime.combine(
|
||||
datetime_created.date(), datetime_created.time(), timezone.utc
|
||||
)
|
||||
return datetime_created
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue