Files
Holzleitner---Backend--aktu…/crates/infrastructure/Cargo.toml
Dennis Nemec f74b6c608a fix(time): konfigurierbare Fach-Zeitzone statt UTC/OS-Local fuer alle Datumsangaben
Lieferbericht zeigte UTC (08.09. 22:54 statt 09.09. 00:54): renderer.dt()
formatierte DateTime<Utc> ohne Umrechnung. Weitere Stellen hingen an
chrono::Local (OS-Zone des Hosts) bzw. hardcodiertem 'Europe/Berlin'.

Neu: server.timezone (IANA, Default Europe/Berlin, chrono-tz) und
durchgaengig UTC-Instant -> konfigurierte Zone:
- Lieferbericht: alle Zeitstempel (Abgeschlossen, Notizen, Scans, erzeugt am)
- Belegansicht (fmt_datetime)
- ERP-Rueckschreibung delivered_at (Wanduhrzeit)
- 'heute'-Ableitung: /me/tours, /dev/resync, /admin/import-erp,
  Import-Cron + Startup-Catch-up
- Completion-Repo: AT TIME ZONE als Bind-Param statt Literal

Speicherung bleibt UTC (TIMESTAMPTZ / DateTime<Utc>) - nur Anzeige und
Kalendertag-Ableitung nutzen die Zone.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-09 01:11:06 +02:00

30 lines
856 B
TOML

[package]
name = "holzleitner-infrastructure"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
[dependencies]
holzleitner-domain.workspace = true
holzleitner-application.workspace = true
async-trait.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
uuid.workspace = true
chrono.workspace = true
chrono-tz.workspace = true
tokio.workspace = true
tokio-util.workspace = true
sqlx.workspace = true
reqwest.workspace = true
tiberius.workspace = true
jsonwebtoken.workspace = true
tracing.workspace = true
# PDF-Report-Generierung (Lieferabschluss). printpdf nutzt eingebaute
# Standard-Fonts (Helvetica, WinAnsi → deutsche Umlaute) → kein Font-Asset.
# `image` dekodiert Unterschriften/Foto-Notizen zu Roh-RGB fürs Einbetten.
printpdf = "0.7"
image = "0.25"