Skip to content

Commit 8cabb47

Browse files
committed
add test for seconds and milliseconds since UNIX epoch
1 parent 2f7a14e commit 8cabb47

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/jasmine/tests/lib_date_test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,11 @@ describe('dates', function() {
579579
'August \'12 QOY:3 WOY:33 DOW:1',
580580
'Mesori \'28 QOY:3 WOY:48 DOW:1'
581581
],
582+
[
583+
'seconds: %s and milliseconds: %Q since UNIX epoch',
584+
'seconds: 1344838774 and milliseconds: 1344838774567 since UNIX epoch',
585+
'seconds: 1344838774 and milliseconds: 1344838774567 since UNIX epoch'
586+
],
582587
[
583588
'%c && %x && .%2f .%f', // %<n>f is our addition
584589
'8/13/2012, 6:19:34 AM && 8/13/2012 && .57 .5678',

0 commit comments

Comments
 (0)