Loading core/lib/Drupal/Component/Datetime/DateTimePlus.php +5 −1 Changes for core/lib/Drupal/Component/Datetime/DateTimePlus.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -250,7 +250,11 @@ public static function createFromFormat($format, $time, $timezone = NULL, $setti * (optional) A date/time string. Defaults to 'now'. * @param mixed $timezone * (optional) \DateTimeZone object, time zone string or NULL. NULL uses the * default system time zone. Defaults to NULL. * default system time zone. Defaults to NULL. Note that the $timezone * parameter and the current timezone are ignored when the $time parameter * either is a UNIX timestamp (e.g. @946684800) or specifies a timezone * (e.g. 2010-01-28T15:00:00+02:00). * @see http://php.net/manual/en/datetime.construct.php * @param array $settings * (optional) Keyed array of settings. Defaults to empty array. * - langcode: (optional) String two letter language code used to control Loading core/lib/Drupal/Core/Datetime/DrupalDateTime.php +5 −1 Changes for core/lib/Drupal/Core/Datetime/DrupalDateTime.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -34,7 +34,11 @@ class DrupalDateTime extends DateTimePlus { * A date/input_time_adjusted string. Defaults to 'now'. * @param mixed $timezone * PHP DateTimeZone object, string or NULL allowed. * Defaults to NULL. * Defaults to NULL. Note that the $timezone parameter and the current * timezone are ignored when the $time parameter either is a UNIX timestamp * (e.g. @946684800) or specifies a timezone * (e.g. 2010-01-28T15:00:00+02:00). * @see http://php.net/manual/en/datetime.construct.php * @param array $settings * - validate_format: (optional) Boolean choice to validate the * created date using the input format. The format used in Loading Loading
core/lib/Drupal/Component/Datetime/DateTimePlus.php +5 −1 Changes for core/lib/Drupal/Component/Datetime/DateTimePlus.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -250,7 +250,11 @@ public static function createFromFormat($format, $time, $timezone = NULL, $setti * (optional) A date/time string. Defaults to 'now'. * @param mixed $timezone * (optional) \DateTimeZone object, time zone string or NULL. NULL uses the * default system time zone. Defaults to NULL. * default system time zone. Defaults to NULL. Note that the $timezone * parameter and the current timezone are ignored when the $time parameter * either is a UNIX timestamp (e.g. @946684800) or specifies a timezone * (e.g. 2010-01-28T15:00:00+02:00). * @see http://php.net/manual/en/datetime.construct.php * @param array $settings * (optional) Keyed array of settings. Defaults to empty array. * - langcode: (optional) String two letter language code used to control Loading
core/lib/Drupal/Core/Datetime/DrupalDateTime.php +5 −1 Changes for core/lib/Drupal/Core/Datetime/DrupalDateTime.php: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -34,7 +34,11 @@ class DrupalDateTime extends DateTimePlus { * A date/input_time_adjusted string. Defaults to 'now'. * @param mixed $timezone * PHP DateTimeZone object, string or NULL allowed. * Defaults to NULL. * Defaults to NULL. Note that the $timezone parameter and the current * timezone are ignored when the $time parameter either is a UNIX timestamp * (e.g. @946684800) or specifies a timezone * (e.g. 2010-01-28T15:00:00+02:00). * @see http://php.net/manual/en/datetime.construct.php * @param array $settings * - validate_format: (optional) Boolean choice to validate the * created date using the input format. The format used in Loading