function TimezoneTest::testDatelistElementTimesUnderstoodCorrectly
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::testDatelistElementTimesUnderstoodCorrectly()
- 8.9.x core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::testDatelistElementTimesUnderstoodCorrectly()
- 10 core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php \Drupal\KernelTests\Core\Datetime\Element\TimezoneTest::testDatelistElementTimesUnderstoodCorrectly()
Tests datelist elements interpret their times correctly when saving.
See testDatetimeElementTimesUnderstoodCorrectly() for more explanation.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ TimezoneTest.php, line 217
Class
- TimezoneTest
- Tests the timezone handling of datetime and datelist element types.
Namespace
Drupal\KernelTests\Core\Datetime\ElementCode
public function testDatelistElementTimesUnderstoodCorrectly() : void {
$this->assertTimesUnderstoodCorrectly('datelist', [
'day',
'month',
'year',
'hour',
'minute',
'second',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.