MCPcopy Create free account
hub / github.com/douglance/devsql / format_git_time

Function format_git_time

crates/devsql/src/engine.rs:716–720  ·  view source on GitHub ↗

Format git timestamp to ISO date

(secs: i64)

Source from the content-addressed store, hash-verified

714
715/// Format git timestamp to ISO date
716fn format_git_time(secs: i64) -> String {
717 DateTime::from_timestamp(secs, 0)
718 .map(|dt| dt.format("%Y-%m-%dT%H:%M:%SZ").to_string())
719 .unwrap_or_default()
720}
721
722fn default_codex_data_dir() -> PathBuf {
723 std::env::var_os("CODEX_HOME")

Callers 1

load_commitsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected