fix: correct timezone offset for parsed dates, add timezone_local option

This commit is contained in:
ThetaDev 2025-01-25 01:13:38 +01:00
parent 3a2370b97c
commit a5a7be5b4e
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
15 changed files with 202 additions and 98 deletions

View file

@ -45,6 +45,7 @@ time = { version = "0.3.37", features = [
"macros",
"serde-human-readable",
"serde-well-known",
"local-offset",
] }
time-tz = { version = "2.0.0" }
futures-util = "0.3.31"
@ -55,6 +56,10 @@ data-encoding = "2.0.0"
urlencoding = "2.1.0"
quick-xml = { version = "0.37.0", features = ["serialize"] }
tracing = { version = "0.1.0", features = ["log"] }
windows-sys = { version = "0.59.0", features = [
"Win32_System_Time",
"Win32_Foundation",
] }
# CLI
indicatif = "0.17.0"
@ -115,6 +120,9 @@ urlencoding.workspace = true
tracing.workspace = true
quick-xml = { workspace = true, optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys.workspace = true
[dev-dependencies]
rstest.workspace = true
tokio-test.workspace = true