Skip to content

Commit 93dde55

Browse files
committed
fix for the tests
1 parent fd769ac commit 93dde55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/helpers/hackathon_manager_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def acc_status_class(acc_status)
9292
end
9393

9494
def display_datetime(datetime, opts = {})
95+
if datetime.blank?
96+
return ""
97+
end
9598
opts[:relative] = true if opts[:relative].nil?
9699

97100
formatted = ""

0 commit comments

Comments
 (0)