Overview
| Artifact ID: | 33bf1edd5c002585ca20158e12aff51a9bed0080308d2b9506d556aef8e53a70 |
|---|---|
| Ticket: | 73384a82adedf4a7986301cfad8ae27017f68ec0
clock scan calendaric calculation error |
| User & Date: | anonymous on 2018-04-16 15:57:59 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
foreach part {yesterday today now tomorrow} { puts stdout "[clock format [clock scan "${part} 3 months ago" ] -format {%Y.%m.%d}] : ${part} 3 months ago" } 2018.01.17 : yesterday 3 months ago !!! FALSE that's tommorrow 3 months ago 2018.01.16 : today 3 months ago 2018.01.16 : now 3 months ago 2018.01.15 : tomorrow 3 months ago !!! FALSE that's yesterday 3 months ago Could it be yesterday and tomorrow are mixed in calendar calculations? Unsing '-3 months' instead of '3 months ago' gives correct results! foreach part {yesterday today now tomorrow} { puts stdout "[clock format [clock scan "${part} -3 months"] -format {%Y.%m.%d}] : ${part} -3 months" } 2018.01.15 : yesterday -3 months 2018.01.16 : today 3 months 2018.01.16 : now 3 months 2018.01.17 : tomorrow -3 months - foundin changed to: "8.4.12, 8.4.20 , 8.6.5"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "3c4d6f6b4a3d4195f9f74c004b27f16e8643661e"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "16. Commands A-H"
- title changed to: "clock scan calendaric calculation error"
- type changed to: "Bug"