@bsol-oss/react-datatable5 12.0.0-beta.67 → 12.0.0-beta.68
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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5199,7 +5199,7 @@ const TimePicker = ({ column, schema, prefix }) => {
|
|
|
5199
5199
|
if (meridiem === "pm" && hour !== 12) {
|
|
5200
5200
|
newHour = hour + 12;
|
|
5201
5201
|
}
|
|
5202
|
-
return dayjs().tz(timezone).hour(newHour).minute(minute).format(timeFormat);
|
|
5202
|
+
return dayjs().tz(timezone).hour(newHour).minute(minute).second(0).format(timeFormat);
|
|
5203
5203
|
};
|
|
5204
5204
|
// Handle changes to time parts
|
|
5205
5205
|
const handleTimeChange = ({ hour: newHour, minute: newMinute, meridiem: newMeridiem, }) => {
|
package/dist/index.mjs
CHANGED
|
@@ -5179,7 +5179,7 @@ const TimePicker = ({ column, schema, prefix }) => {
|
|
|
5179
5179
|
if (meridiem === "pm" && hour !== 12) {
|
|
5180
5180
|
newHour = hour + 12;
|
|
5181
5181
|
}
|
|
5182
|
-
return dayjs().tz(timezone).hour(newHour).minute(minute).format(timeFormat);
|
|
5182
|
+
return dayjs().tz(timezone).hour(newHour).minute(minute).second(0).format(timeFormat);
|
|
5183
5183
|
};
|
|
5184
5184
|
// Handle changes to time parts
|
|
5185
5185
|
const handleTimeChange = ({ hour: newHour, minute: newMinute, meridiem: newMeridiem, }) => {
|