Skip to content

Claude/track api usage l6x8s#322

Merged
asim merged 3 commits intomainfrom
claude/track-api-usage-L6x8s
Mar 21, 2026
Merged

Claude/track api usage l6x8s#322
asim merged 3 commits intomainfrom
claude/track-api-usage-L6x8s

Conversation

@asim
Copy link
Member

@asim asim commented Mar 21, 2026

No description provided.

claude added 3 commits March 21, 2026 11:22
Guard against NaN and negative values, and fall back to a
formatted date for anything older than 30 days.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
Go's omitempty doesn't work on time.Time structs, so updated_at
serializes as 0001-01-01T00:00:00Z for never-updated posts.
Filter out zero-year timestamps in timeAgo and prefer created_at
when updated_at is the zero value.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
@asim asim merged commit 8702961 into main Mar 21, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants