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

Function timestamp_utc

atomic-cli/src/commands/op/model.rs:674–677  ·  view source on GitHub ↗
(timestamp_ms: i64)

Source from the content-addressed store, hash-verified

672}
673
674fn timestamp_utc(timestamp_ms: i64) -> Option<String> {
675 DateTime::<Utc>::from_timestamp_millis(timestamp_ms)
676 .map(|timestamp| timestamp.to_rfc3339_opts(SecondsFormat::Millis, true))
677}
678
679fn operation_kind(kind: OperationKind) -> &'static str {
680 match kind {

Callers 1

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected