mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2025-08-02 23:48:38 +02:00
Fixes chrono warnings (#49)
This commit is contained in:
parent
c1862d30ad
commit
2e5d031d1c
4 changed files with 5 additions and 5 deletions
|
@ -150,7 +150,7 @@ impl StorageTxn for Txn {
|
|||
) {
|
||||
(Some(ts), Some(vs), Some(v)) => Some(Snapshot {
|
||||
version_id: v.0,
|
||||
timestamp: Utc.timestamp(ts, 0),
|
||||
timestamp: Utc.timestamp_opt(ts, 0).unwrap(),
|
||||
versions_since: vs,
|
||||
}),
|
||||
_ => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue