Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8639

toJson produces incorrect shell TimeStamp constructor declaration

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

      $ ./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:
            sverch Shaun Verch
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: