You are here

public function InlineTest::getTimestampTests in Lockr 7.3

File

vendor/symfony/yaml/Tests/InlineTest.php, line 626

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function getTimestampTests() {
  return [
    'canonical' => [
      '2001-12-15T02:59:43.1Z',
      2001,
      12,
      15,
      2,
      59,
      43.1,
      '+0000',
    ],
    'ISO-8601' => [
      '2001-12-15t21:59:43.10-05:00',
      2001,
      12,
      16,
      2,
      59,
      43.1,
      '-0500',
    ],
    'spaced' => [
      '2001-12-15 21:59:43.10 -5',
      2001,
      12,
      16,
      2,
      59,
      43.1,
      '-0500',
    ],
    'date' => [
      '2001-12-15',
      2001,
      12,
      15,
      0,
      0,
      0,
      '+0000',
    ],
  ];
}