When I use the 12 hour format, then onBlur the hour changes to one hour previous.

Using the 24 hour format is a workaround.

This seems to be a problem with the 2.5.20 datetimepicker library: https://github.com/xdan/datetimepicker/issues/444

Comments

glass.dimly created an issue. See original summary.

glass.dimly’s picture

Downgrading to 2.5.3 as suggested in the thread just breaks the module.

glass.dimly’s picture

Issue summary: View changes
valic’s picture

Status: Active » Postponed

Ok, this is a problem in the library. Issue stays open, let see if newer release of the library should have fix for this

saad.waseem’s picture

This seems to be an issue with the blur event on input field as it is posted on Github. https://github.com/xdan/datetimepicker/issues/596
changing validateOnBlur: false, might fix the issue.

saseedharan’s picture

Added a patch for version 8.x-1.7 Patch