public static function DateHelper::monthNamesUntranslated

Constructs an untranslated array of month names.

Return value

array An array of month names.

File

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

Class

DateHelper
Defines Gregorian Calendar date values.

Namespace

Drupal\datetime

Code

public static function monthNamesUntranslated() {

  // Force the key to use the correct month value, rather than
  // starting with zero.
  return array(
    1 => 'January',
    2 => 'February',
    3 => 'March',
    4 => 'April',
    5 => 'May',
    6 => 'June',
    7 => 'July',
    8 => 'August',
    9 => 'September',
    10 => 'October',
    11 => 'November',
    12 => 'December',
  );
}