diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-09-14 13:17:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 13:17:38 -0600 |
commit | dc505e905ec256f034a963f12752dcc4187cb7b9 (patch) | |
tree | 938316a07bb48da9cc53e62c1d7647035eb88800 /cli/util/time.rs | |
parent | 5ba89666afbe30dcd5ed64a87e69e7dcf97573e8 (diff) |
chore(cli): update chrono to remove broken time dep (#20508)
Fixes the last dependabot security warning
Diffstat (limited to 'cli/util/time.rs')
-rw-r--r-- | cli/util/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/util/time.rs b/cli/util/time.rs index 5c1a89d48..0107d8416 100644 --- a/cli/util/time.rs +++ b/cli/util/time.rs @@ -19,5 +19,5 @@ pub fn utc_now() -> chrono::DateTime<chrono::Utc> { now.subsec_nanos(), ) .unwrap(); - chrono::DateTime::from_utc(naive, chrono::Utc) + chrono::DateTime::from_naive_utc_and_offset(naive, chrono::Utc) } |