blob: 9384a83a3e7b4e26a6de5673b3bf665e5b7eecd4 (
plain) (
tree)
|
|
# frozen_string_literal: true
module ActionView
module Helpers
module Tags # :nodoc:
class TimeField < DatetimeField # :nodoc:
private
def format_date(value)
value.try(:strftime, "%T.%L")
end
end
end
end
end
|