class Planik::Lohnausweis::TimeEndFormatter

Public Instance Methods

format(time) click to toggle source
# File lib/lohnausweis/arbeitslistespalten.rb, line 32
def format time
  if time.nil?
    return nil
  end
  s = time.strftime("%H:%M")
  s == "00:00" ? "24:00" : s
end