public static function DateHelper::monthNamesAbbrUntranslated

Constructs an untranslated array of abbreviated month names.

Return value

array An array of month names.

File

drupal/core/modules/datetime/lib/Drupal/datetime/DateHelper.php, line 57
Contains \Drupal\datetime\DateHelper.

Class

DateHelper
Defines Gregorian Calendar date values.

Namespace

Drupal\datetime

Code

public static function monthNamesAbbrUntranslated() {

  // Force the key to use the correct month value, rather than
  // starting with zero.
  return array(
    1 => 'Jan',
    2 => 'Feb',
    3 => 'Mar',
    4 => 'Apr',
    5 => 'May',
    6 => 'Jun',
    7 => 'Jul',
    8 => 'Aug',
    9 => 'Sep',
    10 => 'Oct',
    11 => 'Nov',
    12 => 'Dec',
  );
}