hellfyre/Yet-Another-Opening-Hours-App — Issue #27: don't expose opening_hours syntax to users when entering new data
Author: lurtz
Created: 2012-01-17 21:59:58+00:00
State: open

for reading opening hours raw data might be ok, but not for adding new data.

a bad solution would be just to do a parsing-check and accept if it works. this way the user does not easily see, what went wrong. my proposal is to do it like in the calendar. you take a day and set starting and ending times. for ease of use days may be copyable. we should also allow times like fr 18:00 - 02:00, which will be converted to fr 18:00 - 24:00, sa 0:00 - 02:00

another method could be, that we present a bar for each day. each goes from 0:00 to 24:00 and the user can set the opening_hours with sliders