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

Setting maxDate to new Date() renders today's date #69

Open
ysagar-docsynk opened this issue Apr 23, 2020 · 0 comments
Open

Setting maxDate to new Date() renders today's date #69

ysagar-docsynk opened this issue Apr 23, 2020 · 0 comments

Comments

@ysagar-docsynk
Copy link

Hi,
I have an input field rendered with datetimepicker as follows:
$('.datetimepicker').datetimepicker({ format: 'MM/DD/YYYY', maxDate: new Date() });

Setting maxDate to new Date() is rendering today's date. I see this happened after I upgraded Meteor version to 1.10.1. Earlier when I had version 1.5.2.2, this was working fine. What could cause this issue and how can I resolve this?

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

No branches or pull requests

1 participant