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

Error update function #219

Open
CharlySites opened this issue Oct 13, 2017 · 0 comments
Open

Error update function #219

CharlySites opened this issue Oct 13, 2017 · 0 comments

Comments

@CharlySites
Copy link

Hello,

I don't understand because when use update function, the date in object is not the same as the date in parameters.

My source code :

var checkout = $('#endDate').fdatepicker({
    format: 'dd/mm/yyyy hh:ii',
    disableDblClickSelection: true,
    language: 'fr',
    pickTime: true
}).data('datepicker');

var date = new Date(); // Fri Oct 13 2017 15:18:16 GMT+0200 (Paris, Madrid (heure d’été))
checkout.update(date); 

// checkout.date = Fri Oct 13 2017 17:18:16 GMT+0200 (Paris, Madrid (heure d’été))

Why date != checkout.date ??

Thanks,

Charly

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