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

Using alternative formatting breaks validation #3875

Closed
robbaman opened this issue Jun 30, 2015 · 1 comment
Closed

Using alternative formatting breaks validation #3875

robbaman opened this issue Jun 30, 2015 · 1 comment

Comments

@robbaman
Copy link

When using an alternative formatting (in my case dd-MM-yyyy) the validation breaks when typing in the textbox.

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

This appears to be due to an issue where the baseDate passed to the parse function of the parse may be an invalid date. If this is the case, the parser will always keep spitting out invalid dates.

I'll try to issue a PM with a fix for the issue.

robbaman added a commit to robbaman/bootstrap that referenced this issue Jun 30, 2015
…rser will make it return an invalid date
@wesleycho
Copy link
Contributor

This appears to be a duplicate that should be fixed by #3759.

@wesleycho wesleycho added this to the 0.13.1 (Performance) milestone Jul 2, 2015
@wesleycho wesleycho modified the milestones: 0.13.1 (npm), 0.13.2 (Performance) Jul 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants