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

Value.DateTime should return an int64

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.13
    • Affects Version/s: 0.0.10
    • Component/s: BSON
    • None

      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.

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

              Created:
              Updated:
              Resolved: