You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
My plain HTML input has a time whose format is HH:MM:ss, with a non-zero value (e.g. "01:25:00"), but when I call bulmaCalendar.attach(), the initial value show in the time picker is zero. Upon save, the result back in the field is shifted (hours->minutes, minutes->seconds), e.g. changing to "02:30" and Save produces a value of "00:02:30".
Possible Solution
By inspection, src/js/index.js has an obvious copy/paste bug:
// Set timeFormat (set to HH:MM:SS by default)
set timeFormat(timeFormat) {
this.timePicker.dateFormat = timeFormat;
// ^^^^^^^^^^
return this;
}
Which should be this.timePicker.timeFormat = timeFormat;
I'm assuming this is the only problem, was not in a great position to test.
The text was updated successfully, but these errors were encountered:
Bug Report
Environment
Current Behavior
My plain HTML input has a time whose format is HH:MM:ss, with a non-zero value (e.g. "01:25:00"), but when I call bulmaCalendar.attach(), the initial value show in the time picker is zero. Upon save, the result back in the field is shifted (hours->minutes, minutes->seconds), e.g. changing to "02:30" and Save produces a value of "00:02:30".
Possible Solution
By inspection, src/js/index.js has an obvious copy/paste bug:
Which should be
this.timePicker.timeFormat = timeFormat;
I'm assuming this is the only problem, was not in a great position to test.
The text was updated successfully, but these errors were encountered: