@data-driven-forms/carbon-component-mapper 3.13.0 → 3.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -83,7 +83,7 @@ var TimePickerDate = function TimePickerDate(props) {
|
|
|
83
83
|
hours = hours % 24;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
minutes = minutes %
|
|
86
|
+
minutes = minutes % 60;
|
|
87
87
|
var enhancedValue = new Date("Jan 1 2000 ".concat(hours, ":").concat(minutes, ":00 ").concat(timezone));
|
|
88
88
|
input.onChange(enhancedValue);
|
|
89
89
|
input.onBlur();
|
package/package.json
CHANGED
|
@@ -106,7 +106,7 @@ var TimePickerDate = function TimePickerDate(props) {
|
|
|
106
106
|
hours = hours % 24;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
minutes = minutes %
|
|
109
|
+
minutes = minutes % 60;
|
|
110
110
|
var enhancedValue = new Date("Jan 1 2000 ".concat(hours, ":").concat(minutes, ":00 ").concat(timezone));
|
|
111
111
|
input.onChange(enhancedValue);
|
|
112
112
|
input.onBlur();
|