comparison core/lib/Drupal/Core/Datetime/DateHelper.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
332 $range = range(1, $max); 332 $range = range(1, $max);
333 $range = array_combine($range, $range); 333 $range = array_combine($range, $range);
334 return !$required ? $none + $range : $range; 334 return !$required ? $none + $range : $range;
335 } 335 }
336 336
337
338 /** 337 /**
339 * Constructs an array of hours. 338 * Constructs an array of hours.
340 * 339 *
341 * @param string $format 340 * @param string $format
342 * (optional) A date format string that indicates the format to use for the 341 * (optional) A date format string that indicates the format to use for the