fix error
This commit is contained in:
parent
dff1cf4b1a
commit
90c411f378
|
@ -109,9 +109,9 @@ class EventNews
|
|||
e = self.event_end_date
|
||||
if s.blank? && e.blank?
|
||||
""
|
||||
elsif s.blank?
|
||||
s.strftime('%Y-%m-%d %H:%M')
|
||||
elsif e.blank?
|
||||
s.strftime('%Y-%m-%d %H:%M')
|
||||
elsif s.blank?
|
||||
"~ " + e.strftime('%Y-%m-%d %H:%M')
|
||||
else
|
||||
if s.to_date == e.to_date
|
||||
|
|
Loading…
Reference in New Issue