Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 1fd37b9

Browse files
michalbundyraweierophinney
authored andcommitted
Adds example with Unix timestamp format
- per @svycka
1 parent eb9a7e7 commit 1fd37b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/DateTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public function datesDataProvider()
7777
['06', 'd', true, true],
7878
[123, null, true, false],
7979
[1340677235, null, true, false],
80+
[1340677235, 'U', true, false],
81+
['1340677235', 'U', true, true],
8082
// 32bit version of php will convert this to double
8183
[999999999999, null, true, false],
8284
// double

0 commit comments

Comments
 (0)