Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #854
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Jun 9, 2015
2 parents f37414d + 8b10ec9 commit d7eeaeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/generic/bug00667.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $m = new_mongo_standalone();
$c = $m->selectCollection(dbname(), 'bug667');
$c->drop();

$mongoDate = new MongoDate(strtotime('1900-01-01 America/New_York'));
$mongoDate = new MongoDate(strtotime('1900-01-01 UTC'));
$c->insert(array('date' => $mongoDate));

$document = $c->findOne();
Expand All @@ -22,5 +22,5 @@ printf("%s\n", $mongoDate);
printf("%s\n", $document['date']);

--EXPECT--
0.00000000 -2208970800
0.00000000 -2208970800
0.00000000 -2208988800
0.00000000 -2208988800

0 comments on commit d7eeaeb

Please sign in to comment.