FIX code review

This commit is contained in:
Jasder 2020-08-25 15:49:47 +08:00
parent 41f876a714
commit 3e25a7b28c
1 changed files with 0 additions and 1 deletions

View File

@ -1,6 +1,5 @@
module Ci::BuildsHelper
def format_utc_time(unix_time)
Rails.logger.info "00000000000000 #{unix_time}"
return nil if unix_time == 0
DateTime.strptime(unix_time.to_s,'%s').strftime("%Y-%m-%d %H:%M")
end