class ActionView::Helpers::DateTimeSelector

def translated_month_names

"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
=> [nil, "Jan", "Feb", "Mar", "Apr", "May", "Jun",
If :use_short_month option is set

"November", "December"]
"August", "September", "October",
"April", "May", "June", "July",
=> [nil, "January", "February", "March",
Returns translated month names.
def translated_month_names
  key = @options[:use_short_month] ? :'date.abbr_month_names' : :'date.month_names'
  I18n.translate(key, locale: @options[:locale])
end