Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var WorkTime = '{"1": "09:00-18:00|11:00-11:30|15:00-15:30", "2": "09:00-18:00|11:00-11:30|15:00-15:30", "3": "09:00-18:00|11:00-11:30|15:00-15:30", "4": "09:00-18:00|11:00-11:30|15:00-15:30", "5": "09:00-17:00|11:00-11:30|15:00-15:30", "6": "09:00-13:00", "7": 0, "2017-08-20": "09:00-14:00", "2017-08-21": "09:00-15:00"}';
- var BusyTime = '{"2017-08-01": "09:00-09:30|09:30-10:00|14:00-14:30", "2017-08-02": "09:00-09:30|09:30-10:00|10:00-10:30|10:30-11:00"}';
- Test = JSON.parse(WorkTime);
- Days = JSON.parse(BusyTime);
- console.log(Test);
- console.log(Days);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement