<p>Here are some of the test cases for that parser:</p><p>10 seconds ago<br />1000 seconds ago<br />10000 seconds ago<br />10 minutes ago<br />10 minutes from now<br />in 10 minutes<br />in a couple of minutes<br />20 seconds ago<br />in 30 seconds<br />in an hour<br />3 days from now<br />a couple of days from now<br />a week from today<br />in a couple of days<br />a couple of days from today<br />8am the day after tomorrow<br />6am tomorrow<br />0800 yesterday<br />1700 tomorrow<br />12:15 AM today<br />twenty-four hours from now<br />in just 10 seconds<br />in just a couple of hours<br />in exactly 1 hour</p>
Reply