Value.DateTime should return an int64

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.0.13
    • Affects Version/s: 0.0.10
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Kristofer Brandow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: