summaryrefslogtreecommitdiff
path: root/ext/kv/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r--ext/kv/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs
index 72e1cab30..285614389 100644
--- a/ext/kv/lib.rs
+++ b/ext/kv/lib.rs
@@ -4,7 +4,6 @@ pub mod dynamic;
mod interface;
pub mod remote;
pub mod sqlite;
-mod time;
use std::borrow::Cow;
use std::cell::RefCell;
@@ -56,7 +55,6 @@ use denokv_proto::WatchStream;
use log::debug;
use serde::Deserialize;
use serde::Serialize;
-use time::utc_now;
pub use crate::interface::*;
@@ -772,7 +770,7 @@ async fn op_kv_atomic_write<DBH>(
where
DBH: DatabaseHandler + 'static,
{
- let current_timestamp = utc_now();
+ let current_timestamp = chrono::Utc::now();
let db = {
let state = state.borrow();
let resource =