Format git timestamp to ISO date
(secs: i64)
| 714 | |
| 715 | /// Format git timestamp to ISO date |
| 716 | fn 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 | |
| 722 | fn default_codex_data_dir() -> PathBuf { |
| 723 | std::env::var_os("CODEX_HOME") |