Skip to content

Commit 838ed03

Browse files
committed
fixup! stop using NativeDateTime
1 parent 773c1cb commit 838ed03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • libsql-server/src/namespace/configurator

libsql-server/src/namespace/configurator/replica.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use std::pin::Pin;
22
use std::sync::atomic::AtomicBool;
33
use std::sync::Arc;
44

5+
use chrono::{DateTime, Utc};
56
use futures::Future;
67
use hyper::Uri;
78
use libsql_replication::rpc::replication::log_offset::WalFlavor;
@@ -255,7 +256,7 @@ impl ConfigureNamespace for ReplicaConfigurator {
255256
_from_config: MetaStoreHandle,
256257
_to_ns: NamespaceName,
257258
_to_config: MetaStoreHandle,
258-
_timestamp: Option<chrono::prelude::NaiveDateTime>,
259+
_timestamp: Option<DateTime<Utc>>,
259260
_store: NamespaceStore,
260261
) -> Pin<Box<dyn Future<Output = crate::Result<Namespace>> + Send + 'a>> {
261262
Box::pin(std::future::ready(Err(crate::Error::Fork(

0 commit comments

Comments
 (0)