feat: sync device timezone to backend on startup

On shell mount, reads the IANA timezone from the device via
flutter_timezone and POSTs it to PUT /api/settings as user_timezone.
Mirrors the web app's App.vue behaviour so briefing events and the
chat route use the correct local time on Android.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 17:24:59 -04:00
parent 9f1d2317af
commit 45294ade31
5 changed files with 102 additions and 7 deletions
+1
View File
@@ -26,6 +26,7 @@ dependencies:
flutter_inappwebview: ^6.1.5
flutter_markdown_plus: ^1.0.7
google_fonts: ^8.0.2
flutter_timezone: ^5.0.2
dev_dependencies:
flutter_test: