blob: e5e0b848919a7f2c2f6d06875a25afb62254da15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
module ActionView
module Helpers
module Tags # :nodoc:
class TimeField < DatetimeField # :nodoc:
private
def format_date(value)
value&.strftime("%T.%L")
end
end
end
end
end
|