New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve non-padded strict tokens #1418

Merged
merged 1 commit into from Jan 14, 2014

Conversation

Projects
None yet
2 participants
@ichernev
Contributor

ichernev commented Jan 14, 2014

This is to fix #1401

Basically:

  • Non padded tokens match greedily (H matches one or two)
  • Padded tokens match exactly (HH is two digits)

icambron added a commit that referenced this pull request Jan 14, 2014

Merge pull request #1418 from ichernev/bugfix/strict-parsing-non-padd…
…ed-units

Improve non-padded strict tokens

@icambron icambron merged commit d5f2524 into moment:develop Jan 14, 2014

1 check passed

default The Travis CI build passed
Details

@theurere theurere referenced this pull request Jul 1, 2014

Merged

Update moment.js to 2.7.0 #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment