Skip to content

Conversation

@jvarho
Copy link
Contributor

@jvarho jvarho commented Dec 15, 2016

This removes about a hundred lines of code while adding D and M format options (allowing 1-2 digit date and month).

It does it by porting the date parsing code to use moment.js. If that is not acceptable I can write the parsing code for these formats like the existing ones, but this would greatly simplify any further format additions.

@wehriam
Copy link
Contributor

wehriam commented Mar 21, 2017

moment.js is fantastic but unfortunately a very heavy (~17k) dependency.

Many thanks for the PR but to broaden the use case of this library I'd like to avoid this level of overhead.

@wehriam wehriam closed this Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants