blob: 64c29dea3dcdec4d7714ac42fbb237bda5857903 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module ActionView
module Helpers
module Tags
class DateField < DatetimeField #:nodoc:
private
def format_date(value)
value.try(:strftime, "%Y-%m-%d")
end
end
end
end
end
|