Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-513

Value.DateTime should return an int64

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.13
    • 0.0.10
    • BSON
    • None

    Description

      The *bson.Value type's DateTime method currently returns a time.Time instance. The Element constructor takes an int64 for it's DateTime method and has a Time method to build a DateTime element with a time.Time instance.

      Update the *bson.Value type to have the DateTime method return an int64 and add a Time method that returns a time.Time instance.

      Attachments

        Activity

          People

            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: