You are here

protected static property FullCalendar::$formats in FullCalendar 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/fullcalendar/type/FullCalendar.php \Drupal\fullcalendar\Plugin\fullcalendar\type\FullCalendar::formats

TODO

Type: array

File

src/Plugin/fullcalendar/type/FullCalendar.php, line 68

Class

FullCalendar
@todo.

Namespace

Drupal\fullcalendar\Plugin\fullcalendar\type

Code

protected static $formats = [
  '12' => [
    'time' => 'h:mm',
    'slotLabel' => 'h(:mm)a',
  ],
  '24' => [
    'time' => 'HH:mm',
    'slotLabel' => 'HH(:mm)',
  ],
  'mdy' => [
    'title' => [
      'month' => 'MMMM YYYY',
      'week' => 'MMM D YYYY',
      'day' => 'MMMM D YYYY',
    ],
    'column' => [
      'month' => 'ddd',
      'week' => 'ddd M/D',
      'day' => 'dddd',
    ],
  ],
  'dmy' => [
    'title' => [
      'month' => 'MMMM YYYY',
      'week' => 'D MMM YYYY',
      'day' => 'D MMMM YYYY',
    ],
    'column' => [
      'month' => 'ddd',
      'week' => 'ddd D/M',
      'day' => 'dddd',
    ],
  ],
  'ymd' => [
    'title' => [
      'month' => 'YYYY MMMM',
      'week' => 'YYYY MMM D',
      'day' => 'YYYY MMMM D',
    ],
    'column' => [
      'month' => 'ddd',
      'week' => 'ddd M/D',
      'day' => 'dddd',
    ],
  ],
];