mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
Add new styles to be checked
This commit is contained in:
parent
6e7e0c2cd3
commit
eb127b4f8c
4 changed files with 7 additions and 13 deletions
|
|
@ -7,7 +7,7 @@ class ScheduleController < ApplicationController
|
|||
@events = @conference.events
|
||||
@dates = @conference.start_date..@conference.end_date
|
||||
|
||||
if @dates === Date.current
|
||||
if @dates == Date.current
|
||||
@today = Date.current.strftime("%Y-%m-%d")
|
||||
else
|
||||
@today = @conference.start_date.strftime("%Y-%m-%d")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue