dateish
Given a string, what are the possible date values?
Last updated 7 years ago by sr3d .
BSD · Original npm · Tarball · package.json
$ cnpm install dateish 
SYNC missed versions from official npm registry.

Dateish

A simple date parser to parse date in the following format:

dateish = require('dateish')

--> 2013-06-12

dateish.parse("Something Something - 05/12/2013 20:12PM PST blah blah blah ")
Something Something Sun May 5, 2013
Something Something May 5, 2013
Something Something - 05/12/13 20:12PM PST blah blah blah
Something Something - May 12th, 2013 20:12PM PST blah blah blah

It'd extract the date and parse in US format (mm/dd/yyyy). Also support mm/dd/yy format.

Usage

npm install dateish

Development and Test

npm test 

License

BSD

Current Tags

  • 0.0.3                                ...           latest (7 years ago)

3 Versions

  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 3
Dependencies (1)
Dev Dependencies (2)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |