Created
August 16, 2016 21:38
-
-
Save portertech/b219d36d97adbfc80f1c3f08ab3660d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Current | |
{ | |
:begin => "12:00:00 AM" | |
:end => "12:30:00 AM", | |
:days => ["monday", "tuesday"], | |
:exceptions => [ | |
{:begin => "12:10:00 AM", :end => "12:15:00 AM"} | |
] | |
} | |
# NEW | |
{ | |
:days => { | |
:monday => [ | |
{ | |
:begin => "12:00:00 AM" | |
:end => "12:10:00 AM" | |
}, | |
{ | |
:begin => "12:15:00 AM" | |
:end => "12:30:00 AM" | |
} | |
], | |
:tuesday => [ | |
{ | |
:begin => "12:00:00 AM" | |
:end => "12:10:00 AM" | |
}, | |
{ | |
:begin => "12:15:00 AM" | |
:end => "12:30:00 AM" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment