mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
show first day if today is not within the conference date range
This commit is contained in:
parent
adb04ab82e
commit
4f582bc7f9
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ class ScheduleController < ApplicationController
|
|||
|
||||
if @dates === Date.current
|
||||
@today = Date.current.strftime("%Y-%m-%d")
|
||||
else
|
||||
@today = @conference.start_date.strftime("%Y-%m-%d")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue