captbaritone / captbaritone/datejs
"yesterday week" returns equivalent to "next week"
Open
auto-migrated
Priority-Medium
Type-Defect
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
Date.parse("yesterday week").equals(Date.parse("next week")); //
[PASS]which is not good
The following should pass...
Date.parse("yesterday week").equals(Date.parse("next week").add(-1).day());
// currently fails
This is a bit of known issue when combining Relative dates ("tomorrow")
with date math ("+week"). One hand is not talking to the other.
A fix is planned and should be available in the next release (Beta 1) of
the Parser.
```
Original issue reported on code.google.com by `geoff%co...@gtempaccount.com` on 27 Nov 2007 at 10:36
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.