comparison core/lib/Drupal/Core/Datetime/DrupalDateTime.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
36 * PHP DateTimeZone object, string or NULL allowed. 36 * PHP DateTimeZone object, string or NULL allowed.
37 * Defaults to NULL. Note that the $timezone parameter and the current 37 * Defaults to NULL. Note that the $timezone parameter and the current
38 * timezone are ignored when the $time parameter either is a UNIX timestamp 38 * timezone are ignored when the $time parameter either is a UNIX timestamp
39 * (e.g. @946684800) or specifies a timezone 39 * (e.g. @946684800) or specifies a timezone
40 * (e.g. 2010-01-28T15:00:00+02:00). 40 * (e.g. 2010-01-28T15:00:00+02:00).
41 * @see http://php.net/manual/en/datetime.construct.php 41 * @see http://php.net/manual/datetime.construct.php
42 * @param array $settings 42 * @param array $settings
43 * - validate_format: (optional) Boolean choice to validate the 43 * - validate_format: (optional) Boolean choice to validate the
44 * created date using the input format. The format used in 44 * created date using the input format. The format used in
45 * createFromFormat() allows slightly different values than format(). 45 * createFromFormat() allows slightly different values than format().
46 * Using an input format that works in both functions makes it 46 * Using an input format that works in both functions makes it