MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / timestamp_datetime

Method timestamp_datetime

atomic-core/src/change/provenance_graph/mod.rs:247–249  ·  view source on GitHub ↗

Decode millisecond timestamps and historical second timestamps using the compatibility convention in [`crate::types::timestamp::epoch_datetime`].

(&self)

Source from the content-addressed store, hash-verified

245 /// Decode millisecond timestamps and historical second timestamps using the
246 /// compatibility convention in [`crate::types::timestamp::epoch_datetime`].
247 pub fn timestamp_datetime(&self) -> Option<chrono::DateTime<chrono::Utc>> {
248 crate::types::timestamp::epoch_datetime(self.timestamp)
249 }
250
251 /// Create a builder for constructing a provenance graph.
252 pub fn builder(

Callers

nothing calls this directly

Calls 1

epoch_datetimeFunction · 0.85

Tested by

no test coverage detected