neilgupta / Sherlock

Natural-language event parser for Javascript
https://sherlock.neil.gg
MIT License
532 stars 32 forks source link

"from now" (working) versus "from today" (broken) #1

Closed charliepark closed 11 years ago

charliepark commented 11 years ago

Using the online demo, "two weeks from now" works, but "two weeks from today" doesn't. Perhaps the parser should replace "from today" with "now" before it runs the other calculations?

neilgupta commented 11 years ago

Thanks! It should be fixed now. I also added support for other relative dates like "from tomorrow."