Compare commits
No commits in common. "6df6523062c0b60b648d936fbd14a3e1cdd013ae" and "8208554c4b2392c5ee06f18b24a64637091ef183" have entirely different histories.
6df6523062
...
8208554c4b
|
@ -6,8 +6,8 @@ to:
|
||||||
- cancels Diffusions that have an archive but could not have been played;
|
- cancels Diffusions that have an archive but could not have been played;
|
||||||
- run Liquidsoap
|
- run Liquidsoap
|
||||||
"""
|
"""
|
||||||
|
from datetime import timezone
|
||||||
import time
|
import time
|
||||||
import zoneinfo
|
|
||||||
|
|
||||||
from argparse import RawTextHelpFormatter
|
from argparse import RawTextHelpFormatter
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ from aircox_streamer.controllers import Monitor, Streamer
|
||||||
|
|
||||||
|
|
||||||
# force using UTC
|
# force using UTC
|
||||||
tz.activate(zoneinfo.ZoneInfo("UTC"))
|
tz.activate(timezone.utc)
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user