Skip to content

Commit 3beadc7

Browse files
committed
DateTime from current time now includes microseconds in PHP 7.1
1 parent c6c9013 commit 3beadc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bson/bson-utcdatetime-005.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ foreach ($tests as $test) {
2222
--EXPECTF--
2323
object(MongoDB\BSON\UTCDateTime)#%d (%d) {
2424
["milliseconds"]=>
25-
string(13) "%d000"
25+
string(13) "%d"
2626
}
2727
object(MongoDB\BSON\UTCDateTime)#%d (%d) {
2828
["milliseconds"]=>

tests/bson/bson-utcdatetime-006.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ foreach ($tests as $test) {
2424
--EXPECTF--
2525
object(MongoDB\BSON\UTCDateTime)#%d (%d) {
2626
["milliseconds"]=>
27-
string(13) "%d000"
27+
string(13) "%d"
2828
}
2929
object(MongoDB\BSON\UTCDateTime)#%d (%d) {
3030
["milliseconds"]=>

0 commit comments

Comments
 (0)