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

Is there any way to set the today's date using moment ? #197

Closed
Jaaichandran opened this issue May 31, 2017 · 1 comment
Closed

Is there any way to set the today's date using moment ? #197

Jaaichandran opened this issue May 31, 2017 · 1 comment

Comments

@Jaaichandran
Copy link

I am using Version: 2.4.1 of Gillardo/bootstrap-ui-datetime-picker,

I need to modify the currentdate according to the timezone, I have been using the moment.js for this with timezone informations. I couldn't find a way to set the currentdate of the calendar.

Please help !

@Gillardo
Copy link
Owner

Gillardo commented Jun 9, 2017

Set the current date using moment? Could you not just listen for if the date changes from the directive and then convert that to moment.js format?

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

2 participants