diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-03-07 17:37:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-07 16:37:22 +0000 |
| commit | aace521b56a078fd73f3d76862ee5f5d49235c51 (patch) | |
| tree | 38a940173166d309468f780fe53de80949ecd226 /crates/typst-cli | |
| parent | 1fa0f2f0f025bd5b0968f6cfc4a692916f31b24b (diff) | |
Bump our crates (#3573)
Diffstat (limited to 'crates/typst-cli')
| -rw-r--r-- | crates/typst-cli/src/world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/world.rs b/crates/typst-cli/src/world.rs index 3c4b8be6..893b02bd 100644 --- a/crates/typst-cli/src/world.rs +++ b/crates/typst-cli/src/world.rs @@ -199,7 +199,7 @@ impl World for SystemWorld { let naive = match offset { None => now.naive_local(), - Some(o) => now.naive_utc() + chrono::Duration::hours(o), + Some(o) => now.naive_utc() + chrono::Duration::try_hours(o)?, }; Datetime::from_ymd( |
