Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Rothenberger committed Jun 12, 2024
1 parent dbb4412 commit 3322c42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions identity_core/src/common/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ impl Timestamp {
Self(truncate_fractional_seconds(
OffsetDateTime::from_unix_timestamp(
(ic_cdk::api::time() / 1_000_000_000)
.try_into()
.expect("Failed converting to u64"),
.try_into()
.expect("Failed converting to u64"),
)
.expect("Wrong unix timestamp"),
.expect("Wrong unix timestamp"),
))
}

Expand Down

0 comments on commit 3322c42

Please sign in to comment.