1 date.elements.inc _date_popup_datepicker_format_replacements()

The format replacement patterns for the new datepicker.

File

core/modules/date/date.elements.inc, line 1372
Date forms and form themes and validation.

Code

function _date_popup_datepicker_format_replacements() {
  return array(
    'd' => 'dd',
    'j' => 'd',
    'l' => 'DD',
    'D' => 'D',
    'm' => 'mm',
    'n' => 'm',
    'F' => 'MM',
    'M' => 'M',
    'Y' => 'yy',
    'y' => 'y',
    'S' => '',
  );
}