mirror of
https://github.com/krateng/maloja.git
synced 2025-04-12 15:07:13 +03:00
fix and/or mistake
This commit is contained in:
parent
5c343053d9
commit
300e2c1ff7
@ -9,7 +9,7 @@ from .pkg_global.conf import malojaconfig
|
|||||||
|
|
||||||
OFFSET = malojaconfig["TIMEZONE"]
|
OFFSET = malojaconfig["TIMEZONE"]
|
||||||
LOCATION_TIMEZONE = malojaconfig["LOCATION_TIMEZONE"]
|
LOCATION_TIMEZONE = malojaconfig["LOCATION_TIMEZONE"]
|
||||||
TIMEZONE = timezone(timedelta(hours=OFFSET)) if not LOCATION_TIMEZONE and LOCATION_TIMEZONE in zoneinfo.available_timezones() else zoneinfo.ZoneInfo(LOCATION_TIMEZONE)
|
TIMEZONE = timezone(timedelta(hours=OFFSET)) if not LOCATION_TIMEZONE or LOCATION_TIMEZONE not in zoneinfo.available_timezones() else zoneinfo.ZoneInfo(LOCATION_TIMEZONE)
|
||||||
UTC = timezone.utc
|
UTC = timezone.utc
|
||||||
|
|
||||||
FIRST_SCROBBLE = int(datetime.now(UTC).timestamp())
|
FIRST_SCROBBLE = int(datetime.now(UTC).timestamp())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user