0.0.2 • Published 10 years ago

moment.parseformat v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

moment.parseFormat – a moment.js plugin

A moment.js plugin to extract the format of a date/time string

Installation

Simplest way to install is using bower:

bower install --save moment.parseFormat

Usage

var format = moment.parseFormat('Thursday, February 6th, 2014 9:20pm');
// dddd, MMMM Do, YYYY h:mma
moment.format(format); // format 

Fine Print

The moment.parseFormat Plugin have been authored by Gregor Martynus, proud member of Team Hoodie. Support our work: gittip us.

License: MIT