Skip to content

Commit

Permalink
cargo: upgrade chrono from 0.4.34 to 0.4.35
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvonz committed Mar 6, 2024
1 parent 6626c93 commit 1ee6b59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl TestEnvironment {
*command_number += 1;
cmd.env("JJ_RANDOMNESS_SEED", command_number.to_string());
let timestamp = chrono::DateTime::parse_from_rfc3339("2001-02-03T04:05:06+07:00").unwrap();
let timestamp = timestamp + chrono::Duration::seconds(*command_number);
let timestamp = timestamp + chrono::Duration::try_seconds(*command_number).unwrap();
cmd.env("JJ_TIMESTAMP", timestamp.to_rfc3339());
cmd.env("JJ_OP_TIMESTAMP", timestamp.to_rfc3339());

Expand Down

0 comments on commit 1ee6b59

Please sign in to comment.