You are here

public static function DateHelper::monthNamesUntranslated in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Datetime/DateHelper.php \Drupal\Core\Datetime\DateHelper::monthNamesUntranslated()

Constructs an untranslated array of month names.

Return value

array An array of month names.

File

core/lib/Drupal/Core/Datetime/DateHelper.php, line 30
Contains \Drupal\Core\Datetime\DateHelper.

Class

DateHelper
Defines Gregorian Calendar date values.

Namespace

Drupal\Core\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',
  );
}