cronofy-elements
Advanced tools
Comparing version 1.9.1 to 1.9.2
{ | ||
"name": "cronofy-elements", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "Fast track scheduling with Cronofy's embeddable UI Elements", | ||
@@ -5,0 +5,0 @@ "main": "build/npm/CronofyElements.js", |
@@ -83,2 +83,5 @@ import moment from "moment-timezone"; | ||
config.start_time = config.start_time || "09:00"; | ||
config.end_time = config.end_time || "17:30"; | ||
const validStart = moment(config.start_time, "HH:mm").isValid(); | ||
@@ -85,0 +88,0 @@ const validEnd = moment(config.end_time, "HH:mm").isValid(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2459495