Skip to content

fix: parse HH:mm filter times against today's date - #358

Open
equationzhao wants to merge 1 commit into
masterfrom
equationzhao/fix-filter-hhmm-date
Open

fix: parse HH:mm filter times against today's date#358
equationzhao wants to merge 1 commit into
masterfrom
equationzhao/fix-filter-hhmm-date

Conversation

@equationzhao

Copy link
Copy Markdown
Owner

Summary

  • --before / --after with HH:mm used AddDate(year, month, minute), producing the wrong calendar day.
  • Combine today's date with the parsed clock via combineTodayWithClock.

Test plan

  • go test ./internal/cli/ -run TestCombineTodayWithClock
  • g --after 14:30 filters against today 14:30 local time

Made with Cursor

Replace incorrect AddDate(Year, Month, Minute) with combining today's calendar date and the parsed clock.

Co-authored-by: Cursor <cursoragent@cursor.com>
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_9f849166-0aef-4f4d-abb9-abc499bc9a47)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant