File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -761,13 +761,15 @@ export function getDayViewHourGrid({
761
761
return hours ;
762
762
}
763
763
764
- export enum EventValidationErrorMessage {
765
- NotArray = 'Events must be an array' ,
766
- StartPropertyMissing = 'Event is missing the `start` property' ,
767
- StartPropertyNotDate = 'Event `start` property should be a javascript date object. Do `new Date(event.start)` to fix it.' ,
768
- EndPropertyNotDate = 'Event `end` property should be a javascript date object. Do `new Date(event.end)` to fix it.' ,
769
- EndsBeforeStart = 'Event `start` property occurs after the `end`'
770
- }
764
+ export const EventValidationErrorMessage = {
765
+ NotArray : 'Events must be an array' ,
766
+ StartPropertyMissing : 'Event is missing the `start` property' ,
767
+ StartPropertyNotDate :
768
+ 'Event `start` property should be a javascript date object. Do `new Date(event.start)` to fix it.' ,
769
+ EndPropertyNotDate :
770
+ 'Event `end` property should be a javascript date object. Do `new Date(event.end)` to fix it.' ,
771
+ EndsBeforeStart : 'Event `start` property occurs after the `end`'
772
+ } ;
771
773
772
774
export function validateEvents (
773
775
events : CalendarEvent [ ] ,
You can’t perform that action at this time.
0 commit comments