You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Daily date column values off by one when wrapped to two lines in compact format #433
The daily date column can be off by one depending on terminal width. For example, today is the the 6th, but ccusage shows the 5th when the date is shown in its compact two-line format:
loadDailyUsageData does UTC to local YYYY-MM-DD: 2025-08-06T16:00:00.000Z → 2025-08-06 (for me)
formatDateCompact interprets the YYYY-MM-DD as UTC but it is already local time: 2025-08-06 is interpreted as UTC (2025-08-06T00:00:00Z), which is 2025-08-05 20:00:00 in my local time. That gets displayed as 2025-08-05 even though it started out in local time.
Activity