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

ISODate display is incorrect for microseconds .001 - .099 #124

Open
maihde opened this issue Jul 4, 2016 · 1 comment
Open

ISODate display is incorrect for microseconds .001 - .099 #124

maihde opened this issue Jul 4, 2016 · 1 comment

Comments

@maihde
Copy link

maihde commented Jul 4, 2016

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.

maihde added a commit to maihde/rockmongo that referenced this issue Jul 4, 2016
@stefanocudini
Copy link

Vote on this issue please #133

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants