Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
updated freehand play log config
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Townsend committed Apr 24, 2015
1 parent f9eeb63 commit cbc11dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/air/freehand_play_logs_controller.rb
Expand Up @@ -21,7 +21,7 @@ def create
shows = Legacy::Show.specialty_shows
day = Time.zone.now.strftime("%A")[0..1].downcase
hour = Time.new(1970,1,1,Time.zone.now.hour)
hour = Time.new(1970,1,1,17)
#hour = Time.new(1970,1,1,17)
current = shows.where(id: Legacy::ShowSchedule.select("show_id").where(days: day).where("start_time <= ?", hour).where("end_time > ?", hour)).first

if current.nil?
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/air/freehand_playlist_controller.rb
Expand Up @@ -3,7 +3,7 @@ def index
@shows = Legacy::Show.specialty_shows
day = Time.zone.now.strftime("%A")[0..1].downcase
hour = Time.new(1970,1,1,Time.zone.now.hour)
hour = Time.new(1970,1,1,12)
#hour = Time.new(1970,1,1,12)
current = @shows.where(id: Legacy::ShowSchedule.select("show_id").where(days: day).where("start_time <= ?", hour).where("end_time > ?", hour)).first
if current.nil?
@current_show = ""
Expand Down

0 comments on commit cbc11dc

Please sign in to comment.