Skip to content

fix(filter): keep a short fraction of a quoted time - #183

Merged
pdevito3 merged 1 commit into
mainfrom
backport/166
Oct 9, 2026
Merged

pdevito3 merged 1 commit into
mainfrom
backport/166

Conversation

@pdevito3

@pdevito3 pdevito3 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

A quoted time dropped a fraction with fewer than 3 digits, so Time == "08:30:00.5" compared with 08:30:00. Keep every fraction digit of a quoted time, like an unquoted time. The rightIsQuotedLiteral argument of CreateRightExpr is removed, because the time conversion was its only user.

Behavior change: Time == "08:30:00.5" now matches 08:30:00.500, not 08:30:00. Remove the fraction to match the whole second.

Examples:
Time == "08:30:00.5"
before: matches 08:30:00
after: matches 08:30:00.500
Time == "08:30:00.50"
before: matches 08:30:00
after: matches 08:30:00.500
Time == "08:30:00.500"
before and after: matches 08:30:00.500

From #166 on v2.

A quoted time dropped a fraction with fewer than 3 digits, so Time == "08:30:00.5" compared with 08:30:00. Keep every fraction digit of a quoted time, like an unquoted time. The rightIsQuotedLiteral argument of CreateRightExpr is removed, because the time conversion was its only user.

Behavior change: Time == "08:30:00.5" now matches 08:30:00.500, not 08:30:00. Remove the fraction to match the whole second.

Examples:
  Time == "08:30:00.5"
    before: matches 08:30:00
    after:  matches 08:30:00.500
  Time == "08:30:00.50"
    before: matches 08:30:00
    after:  matches 08:30:00.500
  Time == "08:30:00.500"
    before and after: matches 08:30:00.500

From #166 on v2.
@pdevito3
pdevito3 merged commit e0a9e09 into main Oct 9, 2026
2 checks passed
@pdevito3
pdevito3 deleted the backport/166 branch October 9, 2026 20:01
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.

1 participant