Can't change weekend off time from 8PM
Closed this issue · 5 comments
Odd as it may seem, I'm unable to change my screen weekend off time away from 8PM. I set the control for weekend on at 1PM and off at 3PM, but the off value remains 8PM. I'm able to change the weekday on and off times without incident.
That is GMT-4, or EDT. Maybe it isn't being saved to the database
On Apr 3, 2015 12:53 AM, "August" notifications@github.com wrote:
Odd as it may seem, I'm unable to change my screen weekend off time away
from 8PM. I set the control for weekend on at 1PM and off at 3PM, but the
off value remains 8PM. I'm able to change the weekday on and off times
without incident.—
Reply to this email directly or view it on GitHub
#29.
An excellent observation; it hadn't occurred to me what meaning 8PM would have here.
Unable to reproduce. Can you provide more details?
I just bashed on my local install a bit and am now unable to replicate this. When I filed it (and as Zach pointed out), the weekend off time was going to UTC. If no one else can reproduce this, let's close it out.
Looking back on the code, it could have arisen from this line in the form partial:
This invokes the default content end time, which assuming our timezone stuff is being silly, is 8PM eastern.
f.text_field(:wknd_off_time, :maxlength => 20, :class => "timefield input-small", :value => @player.fmt_time(@player.wknd_off_time, "%l:%M%P") || ConcertoConfig[:content_default_end_time]) ```