mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
move live_cli
This commit is contained in:
@@ -216,7 +216,7 @@ struct LogFileInfo {
|
||||
|
||||
fn create_log_file(config: &Config, session_id: Uuid) -> std::io::Result<LogFileInfo> {
|
||||
// Resolve ~/.codex/sessions/YYYY/MM/DD and create it if missing.
|
||||
let timestamp = OffsetDateTime::now_local()
|
||||
let timestamp = OffsetDateTime::now_utc()
|
||||
.map_err(|e| IoError::other(format!("failed to get local time: {e}")))?;
|
||||
let mut dir = config.codex_home.clone();
|
||||
dir.push(SESSIONS_SUBDIR);
|
||||
|
||||
Reference in New Issue
Block a user