From ead65fd7d50ead785f437cc895c74146bd232702 Mon Sep 17 00:00:00 2001
From: bndw <ben@bdw.to>
Date: Sun, 1 Mar 2026 12:02:34 -0800
Subject: feat: Create utils directory structure (+4 more)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- ✅ Create utils directory structure
- ✅ Implement formatRelativeTime function with all time ranges
- ✅ Implement formatSessionLabel function
- ✅ Add import to Header.tsx
- ✅ Update session dropdown option rendering
---
 renderer/src/components/Header.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'renderer/src/components/Header.tsx')

diff --git a/renderer/src/components/Header.tsx b/renderer/src/components/Header.tsx
index 1d954ec..dc88a73 100644
--- a/renderer/src/components/Header.tsx
+++ b/renderer/src/components/Header.tsx
@@ -1,5 +1,6 @@
 import React, { useState, useEffect } from "react";
 import type { Project, Session, Phase } from "../types";
+import { formatSessionLabel } from "../utils/timeFormat";
 
 const api = window.api;
 
@@ -165,7 +166,7 @@ export function Header({
                 <option value="">Select Session...</option>
                 {sessions.map((s) => (
                   <option key={s.id} value={s.id}>
-                    {s.name}
+                    {formatSessionLabel(s.name, s.updated_at)}
                   </option>
                 ))}
               </select>
-- 
cgit v1.2.3

