Open Qernek opened 7 years ago
Hello, have the same problem. Have somebody some solution or may be it possible to append this GMT/UTC in config?
it can be hard coded in datetimepicker.js, line 383:
var newDate = moment(tempDate).subtract(1, "hours").format("YYYY-MM-DD HH:mm:ss");
I have updated the code to use modelOptions.timezone... Let me know if this fixes your issue (version 2.5.4)
Thank you very match, try to update code ASAP) On Jan 23, 2017 13:55, "Gillardo" notifications@github.com wrote:
I have updated the code to use modelOptions.timezone... Let me know if this fixes your issue (version 2.5.4)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Gillardo/bootstrap-ui-datetime-picker/issues/164#issuecomment-274456894, or mute the thread https://github.com/notifications/unsubscribe-auth/AF54ykcpypwM7iTW-sJDkYM4g8DsZjFnks5rVIcegaJpZM4LFpSZ .
Just released on github and npm
Hello I have the same problem as in the example... I think is because GMT/UTC is wrong ... but i dont know how can put it or fix.
https://rawgit.com/Gillardo/bootstrap-ui-datetime-picker/master/example/index.html
Thx.