toJson produces incorrect shell TimeStamp constructor declaration

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.0-rc0
    • Component/s: JavaScript, Tools
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $ ./bsondump dump/test/date.bson 
      { "_id" : Timestamp( 1361395091, 1 ) } // should be x1000 for millis constructor
      

      See SERVER-7718 for background on this.

      The current behavior will create incorrect TimeStamps in the shell.

              Assignee:
              Shaun Verch (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: