0.0.3 • Published 7 years ago

interpret-date v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

interpret-date

very fuzzy date parsing

usage

with bower

bower install --save interpret-date

var mydate = interpretDate.interpretText('Mar 3rd 2017, 9pm')

with npm

npm install --save interpret-date

var interpretDate = require('interpret-date');
var mydate = interpretDate.interpretText('next thursday, 9pm')

interpret-date naturally works with date-first dates (ie 02/03/17 = 2nd Mar 2017)
if you live in a country that uses month-first dates then use

interpretDate.setMonthFirst(true)