Overview
| Artifact ID: | 88906178f9a8bf0cb829e11cdbddcdf04c901c07 |
|---|---|
| Ticket: | 219051ffffffffffffffffffffffffffffffffff
[clock scan "next january"] errors |
| User & Date: | nobody on 2000-10-26 01:09:56 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 4146 Bug Version: 8.3b2 SubmitDate: '2000-02-08' LastModified: '2000-02-08' Severity: SER Status: Released Submitter: ericm ChangedBy: ericm OS: All FixedDate: '2000-02-08' FixedInVersion: 8.3 ClosedDate: '2000-10-25' In 8.2, [clock format [clock scan "next january"]] gave this (roughly): Jan 2 currentyear In 8.3b2, it errors saying that it can't scan next january. The 8.2 behavior is wrong, as it is interpreting "next january" as "2 january". At worst 8.3 should have the same behavior; at best it should do the "right thing" and give "Jan 1 nextyear". - eric When I updated the grammar to handle "next month" and similar constructs, I neglected to add "next monthname" where monthname is Jan, Feb, etc. I added this construct, and a function to handle it (NamedMonth), so that the behavior now is to return the next occurance of the named month. So, in feb thisyear, "next feb" will give feb of nextyear; "next mar" will give mar of thisyear; etc. Obviously this is incompatible with the 8.2 behavior, but since that clearly did not give the result that one expects, I don't think that it will be an issue. - eric
- foundin changed to: "obsolete: 8.3b2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "48. Number Handling"
- title changed to: "[clock scan "next january"] errors"
- type changed to: "Bug"