Add Associative indexing to dataprovider for DATE

This commit is contained in:
MarkBaker 2019-07-30 19:00:00 +02:00
parent aa35a2f85f
commit 4c9d51c11b
1 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,5 @@
<?php <?php
// Year, Month, Day, Result, Comments
return [ return [
'Year without century specified' => [ 'Year without century specified' => [
6890, // '11th November 1918' 6890, // '11th November 1918'
@ -32,7 +30,6 @@ return [
1901, 12, 14, 1901, 12, 14,
], ],
'Day before Excel 1904 Calendar Base Date' => [ 'Day before Excel 1904 Calendar Base Date' => [
[
1461, 1461,
1903, 12, 31, 1903, 12, 31,
], ],
@ -40,8 +37,7 @@ return [
1462, 1462,
1904, 1, 1, 1904, 1, 1,
], ],
'Day after Excel 1904 Calendar Base Date' => [ 'Day after Excel 1904 Calendar Base Date' => [
[
1463, 1463,
1904, 1, 2, 1904, 1, 2,
], ],
@ -319,5 +315,6 @@ return [
[ [
'#VALUE!', '#VALUE!',
2010, 3, 'GHI', 2010, 3, 'GHI',
], ]
]; ];