-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
status: awaiting triageWaiting for an issue to be addressed.Waiting for an issue to be addressed.type: bugAn issue that contains a bug report.An issue that contains a bug report.
Description
The problem
I've noticed that depending on the time of day log --today may or may not output all time entries for that day.
The discussion from the thread linked below mentions that the time.Truncate method truncates UTC time, not local time.
I believe the fix is to set start in the logToday condition in cmd/history/log.go to the beginning of the current day of the user's local time rather than use the time.Truncate method.
I created PR #89 with this update.
log --week may have a similar issue.
Release version
0.5.2 (02-18-2026)
Operating system
Windows 10
Steps to reproduce the behavior
No response
Screenshots
No response
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: awaiting triageWaiting for an issue to be addressed.Waiting for an issue to be addressed.type: bugAn issue that contains a bug report.An issue that contains a bug report.