mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-25 18:26:34 +00:00
style: formatting
This commit is contained in:
parent
e414f3b8fd
commit
c3cec36ad4
|
@ -708,7 +708,9 @@ class Backups:
|
||||||
# assume it is in localtime
|
# assume it is in localtime
|
||||||
offset = timedelta(seconds=time.localtime().tm_gmtoff)
|
offset = timedelta(seconds=time.localtime().tm_gmtoff)
|
||||||
datetime_created = datetime_created - offset
|
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 datetime_created
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue