Firmware 3.0.0+ (project-vesper F-079) keeps the RTC in UTC and, in timezone mode "auto", evaluates a POSIX TZ rule string sent by whoever sets the timezone. Devices don't carry the IANA database and POSIX signs are inverted, so the console and apps need one place to get the right rule. GET /api/public/timezones[?country=GR] returns every country with its zones (zone.tab), each with the POSIX rule (TZif footer), std/DST offsets in minutes east of UTC, and the current offset/DST state. GET /api/public/timezones/zone?name=... resolves one zone, including aliases zone.tab doesn't list (e.g. a phone reporting Asia/Calcutta). Public on purpose: IANA data, needed by the phone app (Firebase auth, MQTT) and for the tablet app's offline bundle (save the full response, ~130 KB). Source is the tzdata pip package, now pinned (2026.6 = IANA 2026f); bumping the pin is how new DST rules arrive. Docs in docs/device-timezones.md; tests in tests/test_timezones.py. Stage 4 of project-vesper docs/features/timekeeper-overhaul.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
503 B
Plaintext
23 lines
503 B
Plaintext
fastapi==0.115.6
|
|
uvicorn[standard]==0.34.0
|
|
pydantic-settings==2.7.1
|
|
python-dotenv==1.0.1
|
|
firebase-admin==6.6.0
|
|
paho-mqtt==2.1.0
|
|
python-jose[cryptography]==3.3.0
|
|
passlib[bcrypt]==1.7.4
|
|
python-multipart==0.0.20
|
|
bcrypt==4.0.1
|
|
aiosqlite==0.20.0
|
|
resend==2.10.0
|
|
httpx>=0.27.0
|
|
weasyprint>=62.0
|
|
jinja2>=3.1.0
|
|
Pillow>=10.0.0
|
|
pdf2image>=1.17.0
|
|
asyncpg==0.30.0
|
|
sqlalchemy[asyncio]==2.0.36
|
|
alembic==1.14.0
|
|
# IANA tz database for the device timezone table (timezones/). Bump to pick up new DST rules.
|
|
tzdata==2026.6
|