Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2a16e159ab
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.244 kb
module ActionView
module Helpers
module Tags # :nodoc:
class WeekField < DatetimeField # :nodoc:
private
def format_date(value)
value.try(:strftime, "%Y-W%W")
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.