Skip to content
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

minDate being applied to every month #874

Closed
webcmsdesigns opened this issue Mar 1, 2015 · 4 comments
Closed

minDate being applied to every month #874

webcmsdesigns opened this issue Mar 1, 2015 · 4 comments
Milestone

Comments

@webcmsdesigns
Copy link

Running into an issue on the dev branch, where use of minDate: moment() is resulting in the minimum day being applied to every month. This being Feb 28th you can only select the 28th and after in each month.
datetimepicker-issue

this does not occur in the master branch.
http://jsfiddle.net/spasticdonkey/3w5wqvnb/3/

Since tomorrow is the 1st it may be harder to spot the issue after today ;)

@Eonasdan Eonasdan added this to the 4.6.11 milestone Mar 1, 2015
Eonasdan added a commit that referenced this issue Mar 4, 2015
@Eonasdan
Copy link
Owner

Eonasdan commented Mar 4, 2015

just put in a fix for this. please check the dev branch and let me know if you're still having the issue

@webcmsdesigns
Copy link
Author

Fixed the minDate issue, but we seem to have lost the localized formatting "L", at least in looking at the fiddle link above. Tried both "fr" and "de" and both ended up as MM/DD/YYYY. Off to work but I'll look at it more in a few hours.

@Eonasdan
Copy link
Owner

Eonasdan commented Mar 4, 2015

that should be fixed now too

@webcmsdesigns
Copy link
Author

nicely done. minDate and maxDate are working without issue, in the half dozen locales I'm working with. Even unusual formats such as Hungarian "YYYY.MM.DD." ;)

Repository owner locked and limited conversation to collaborators Jun 17, 2017
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