Overview
| Artifact ID: | 797d53588abd3a91dfa9c83f15b1c224ed75e82d8b49a817124bf66cfb3d162a |
|---|---|
| Ticket: | 73384a82adedf4a7986301cfad8ae27017f68ec0
clock scan calendaric calculation error |
| User & Date: | sebres on 2018-04-16 16:40:44 |
Changes
- assignee changed to: "kbk"
- icomment:
The problem is - both "yesterday/tomorrow" as well as "3 months" are currently relative units (effectively days). So the suffix "ago" works like simply "negation" for both units equally. So unfortunately ATM it is even equally to: "tomorrow 3 months ago" === "1 day 1 month ago" "yesterday 3 months ago" === "-1 day 1 month ago" Sounds a bit strange, but simply said: don't use "ago" suffix if you've multiple relative units (as mix) in the free-scan string. @Kevin, @TCT Theoretically I could relative easy change the logic of "tomorrow/yesterday" (should not be tDAY_UNIT (yyRelDay) anymore, so can affect the base instead of relunit), but such change is not backwards-compatible at all. What would you say about?
- login: "sebres"
- mimetype: "text/plain"