iwind/rockmongo

ISODate display is incorrect for microseconds .001 - .099

Opened this issue · 1 comments

Steps to reproduce:

  1. Insert records into collection where ISODate has microseconds value between .001 - 0.099. For example:

insert({"date": ISODate("2016-06-04T23:25:00.023")})

  1. View in RockMongo

Observed Behaviour:

  • The value is displayed incorrectly, truncating the microseconds

"date": ISODate("2016-06-04T23:25:00.23Z")

The fix requires an change to use sprintf in the VarExporter.php file. A pull request will be provided with that includes the fix.

Vote on this issue please #133