jQuery-Timepicker-Addon icon indicating copy to clipboard operation
jQuery-Timepicker-Addon copied to clipboard

Now button sets invalid date when step is set.

Open JanciP opened this issue 8 years ago • 0 comments
trafficstars

When initializing datetimepicker with, let's say stepMinute:15, clicking on NOW button sets time in the past.

datetimepicker({ controlType: 'select', oneLine: true, timeFormat: 'hh:mm TT z', stepMinute: 15

(e.g. it's 09:23, clicking NOW sets date to 09:20).

Is there any way to force NOW to set the date in the future (with or without taking step into account?)

JanciP avatar Jul 06 '17 11:07 JanciP