fix: analytics queries use milliseconds for created_at_epoch #87
No reviewers
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem!87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/analytics-epoch-milliseconds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
created_at_epochstored in millisecondsstartDatecalculation now uses milliseconds:Date.now() - (daysBack * 24 * 60 * 60 * 1000)date()function for daily grouping now divides epoch by 1000:date(created_at_epoch / 1000, 'unixepoch', 'localtime')Problem
The "Memories Over Time" chart was only showing January 1st because the epoch timestamps were being treated as seconds instead of milliseconds.
Test Plan
🤖 Generated with Claude Code