forked from cursorman/coffer
Compare commits
No commits in common. "tz-configurable" and "main" have entirely different histories.
tz-configu
...
main
@ -6,7 +6,6 @@ from dataclasses import asdict
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any
|
from typing import Any
|
||||||
import os
|
|
||||||
from zoneinfo import ZoneInfo
|
from zoneinfo import ZoneInfo
|
||||||
|
|
||||||
from coffer.db import CofferDB
|
from coffer.db import CofferDB
|
||||||
@ -31,7 +30,7 @@ from coffer.units import (
|
|||||||
to_subunits,
|
to_subunits,
|
||||||
)
|
)
|
||||||
|
|
||||||
PT = ZoneInfo(os.environ.get("COFFER_TZ", "UTC")) # deployment sets its own zone
|
PT = ZoneInfo("Australia/Perth")
|
||||||
|
|
||||||
|
|
||||||
def now_pt() -> str:
|
def now_pt() -> str:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user