用量圖表照你當地的時間換算,半夜不再被算成前一天
面板裡的每日、每週、每月用量圖表,現在會乖乖照你當地的時間來畫了。以前它是用國際標準時間(UTC)來劃分每一天,如果你在台灣(UTC+8)半夜或清晨用,系統會把你當作是在英國的「前一天」晚上,導致圖表上的用量看起來很奇怪;現在它會先換算成你電腦的時區再來畫圖。就像你明明是今天凌晨買的宵夜,記帳軟體以前卻硬說是昨天買的,現在它終於懂得看你牆上的時鐘來記帳了。
發布日期:2026-06-27
面板裡的每日、每週、每月用量圖表,現在會乖乖照你當地的時間來畫了。以前它是用國際標準時間(UTC)來劃分每一天,如果你在台灣(UTC+8)半夜或清晨用,系統會把你當作是在英國的「前一天」晚上,導致圖表上的用量看起來很奇怪;現在它會先換算成你電腦的時區再來畫圖。就像你明明是今天凌晨買的宵夜,記帳軟體以前卻硬說是昨天買的,現在它終於懂得看你牆上的時鐘來記帳了。
當系統在算你用掉多少 Codex 額度時,現在會把被你「封存」(archived)的舊對話一起算進去。以前它只會盯著正在活躍的對話資料夾,如果你把對話收進封存匣,那些用量就彷彿人間蒸發,沒有被算進總計裡;現在系統兩個資料夾都會一起掃描。就像以前會計只算桌子上的收據,被你收進抽屜裡的帳單就假裝沒看到,現在他懂得連抽屜一起打開來算了。
The daily, weekly, and monthly usage charts in the panels now correctly align with your local time zone. Previously, the system bucketed everything by Universal Time (UTC), meaning if you were working in the pre-dawn hours of your local time, the system recorded it as the evening of the "previous day" in London, making your charts look baffling. Now, it converts timestamps to your machine's local time before drawing the graphs. It's like buying a midnight snack and having your budgeting app insist you bought it yesterday — the app has finally learned to look at the clock on your wall before logging the receipt.
When calculating your total Codex quota usage, the system now correctly includes the old sessions you've "archived". Previously, it only watched the active session folder, meaning if you tucked a chat into the archive directory, its usage vanished into thin air and wasn't added to your totals. Now, the system sweeps both folders together. It's like an accountant who used to only tally the receipts sitting on your desk and completely ignored the bills you stuffed in your drawer, but now finally knows to open the drawer too.
**Usage charts group days by your local time, not UTC**: the daily/weekly/monthly aggregates bucketed each entry by its UTC calendar day, so usage in the local pre-dawn hours (e.g. 00:00–08:00 at UTC+8) was credited to the previous day; timestamps are now converted to local time before bucketing, matching the HTML report.**Archived Codex sessions are no longer undercounted**: usage now scans `~/.codex/archived_sessions/` alongside `~/.codex/sessions/`, so Codex sessions that have been archived still count toward your totals (no change when that directory doesn't exist).