@bytebrand/fe-ui-core 4.2.13 → 4.2.14
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/package.json
CHANGED
|
@@ -98,6 +98,13 @@ const TimePicker = ({
|
|
|
98
98
|
[day, time]
|
|
99
99
|
);
|
|
100
100
|
|
|
101
|
+
useEffect(
|
|
102
|
+
() => {
|
|
103
|
+
onHandleTimestampChange(+new Date(`${new Date(nextWeekDaysFull[day]).toDateString()} ${getTimeRanges()[time].time}`) / 1000);
|
|
104
|
+
},
|
|
105
|
+
[currentDay]
|
|
106
|
+
);
|
|
107
|
+
|
|
101
108
|
const getHours = (time: string) => {
|
|
102
109
|
const date = new Date(`${new Date().toDateString()}, ${time}:00`);
|
|
103
110
|
return date;
|