class Formulary::HtmlForm::Fields::MonthInput
Public Class Methods
compatible_type()
click to toggle source
# File lib/formulary/html_form/fields/month_input.rb, line 3 def self.compatible_type "month" end
Public Instance Methods
datetime_format()
click to toggle source
# File lib/formulary/html_form/fields/month_input.rb, line 11 def datetime_format "%Y-%m" end
display_format()
click to toggle source
# File lib/formulary/html_form/fields/month_input.rb, line 7 def display_format "YYYY-MM" end