From bffe604527442945c141290b727b5764a2f385fd Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 20 Apr 2026 21:53:15 -0400 Subject: [PATCH] Remove potentially confusing TZ from insight generator --- src/ai/insight_generator.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ai/insight_generator.rs b/src/ai/insight_generator.rs index 6b555d6..18e50c7 100644 --- a/src/ai/insight_generator.rs +++ b/src/ai/insight_generator.rs @@ -442,7 +442,7 @@ impl InsightGenerator { let date = DateTime::from_timestamp(e.start_time, 0) .map(|dt| { dt.with_timezone(&Local) - .format("%Y-%m-%d %H:%M %:z") + .format("%Y-%m-%d %H:%M") .to_string() }) .unwrap_or_else(|| "unknown".to_string()); @@ -1360,7 +1360,7 @@ Return ONLY the summary, nothing else."#, let timestamp = chrono::DateTime::from_timestamp(m.timestamp, 0) .map(|dt| { dt.with_timezone(&Local) - .format("%Y-%m-%d %H:%M %:z") + .format("%Y-%m-%d %H:%M") .to_string() }) .unwrap_or_else(|| "unknown time".to_string()); @@ -1533,7 +1533,7 @@ Return ONLY the summary, nothing else."#, let ts = DateTime::from_timestamp(m.timestamp, 0) .map(|dt| { dt.with_timezone(&Local) - .format("%Y-%m-%d %H:%M %:z") + .format("%Y-%m-%d %H:%M") .to_string() }) .unwrap_or_else(|| "unknown".to_string()); @@ -1604,7 +1604,7 @@ Return ONLY the summary, nothing else."#, let dt = DateTime::from_timestamp(e.start_time, 0) .map(|dt| { dt.with_timezone(&Local) - .format("%Y-%m-%d %H:%M %:z") + .format("%Y-%m-%d %H:%M") .to_string() }) .unwrap_or_else(|| "unknown".to_string()); @@ -1680,7 +1680,7 @@ Return ONLY the summary, nothing else."#, let dt = DateTime::from_timestamp(loc.timestamp, 0) .map(|dt| { dt.with_timezone(&Local) - .format("%Y-%m-%d %H:%M %:z") + .format("%Y-%m-%d %H:%M") .to_string() }) .unwrap_or_else(|| "unknown".to_string());