public function InlineTest::getTimestampTests in Database Sanitize 7
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 626
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function getTimestampTests() {
return array(
'canonical' => array(
'2001-12-15T02:59:43.1Z',
2001,
12,
15,
2,
59,
43.1,
'+0000',
),
'ISO-8601' => array(
'2001-12-15t21:59:43.10-05:00',
2001,
12,
16,
2,
59,
43.1,
'-0500',
),
'spaced' => array(
'2001-12-15 21:59:43.10 -5',
2001,
12,
16,
2,
59,
43.1,
'-0500',
),
'date' => array(
'2001-12-15',
2001,
12,
15,
0,
0,
0,
'+0000',
),
);
}