Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

dateParser.filter issue which drop text after right most formatting token #5387

Closed
timonwong opened this issue Feb 2, 2016 · 0 comments
Closed

Comments

@timonwong
Copy link

After #5376, it seems that now it will drop the text after last (right-most) formatting token, for example:

dateParser.filter(date, 'yyyy -');

returns only "2016", without " -"
and:

dateParser.filter(date, 'yyyy - MM -');

returns only "2016 - 02".

http://plnkr.co/edit/h7lgrX2mpHNTRHSEOvyD?p=preview

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants