tripstorekrabi-shared 1.9.3 → 1.9.4
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 +1 -1
- package/utils.js +1 -1
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -447,7 +447,7 @@ export function validatePickupTime(pickupTime, schedule = "", context) {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export function
|
|
450
|
+
export function isPickupTimeBeforeDepartureTime(schedule, pickupTime) {
|
|
451
451
|
let departureTime = schedule.split(" - ")[0];
|
|
452
452
|
if (pickupTime === "?" || schedule === "?") {
|
|
453
453
|
return false;
|