You are here

private static property CalendarSystemsIntlCalendar::$php2intl_format_map in Calendar Systems 8.3

php's date format modifiers differ from Intl's. This is a mapping of the two.

Type: array

File

src/CalendarSystems/CalendarSystemsIntlCalendar.php, line 18

Class

CalendarSystemsIntlCalendar

Namespace

Drupal\calendar_systems\CalendarSystems

Code

private static $php2intl_format_map = [
  'd' => 'dd',
  'D' => 'eee',
  'j' => 'd',
  'l' => 'eeee',
  'N' => 'ee',
  'S' => '',
  'w' => '',
  'z' => '',
  'W' => 'w',
  'm' => 'MM',
  'M' => 'MMM',
  'F' => 'MMMM',
  'n' => 'M',
  't' => '',
  'L' => '',
  'o' => 'YYYY',
  'y' => 'yy',
  'Y' => 'yyyy',
  'a' => 'a',
  'A' => 'a',
  'B' => '',
  'g' => 'h',
  'G' => 'H',
  'h' => 'hh',
  'H' => 'HH',
  'i' => 'mm',
  's' => 'ss',
  'u' => 'SSSSSS',
  'e' => 'VV',
  'I' => '',
  'O' => 'xx',
  'P' => 'xxx',
  'T' => 'v',
  'Z' => '',
  'c' => '',
  'r' => '',
  'U' => '',
  ' ' => ' ',
  '-' => '-',
  '.' => '.',
  ':' => ':',
];