Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-220

Windows cannot handle dates before 1970 with C API

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • Jim 35
    • 5

    Description

      https://github.com/couchbase/couchbase-lite-core/issues/782

      As noted in the docs gmtime_s (the Windows equivalent of gmtime_r and gmtime (as well as local time equivalents) will return nullptr when called on a date that is before the Unix epoch.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-lite-core-3.0.0-22 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-core-3.0.0-22 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-log-3.0.0-23 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-log-3.0.0-23 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-cblite-3.0.0-23 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-3.0.0-23 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-net-3.0.0-26 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-26 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-ios-3.0.0-55 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-3.0.0-55 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-android-3.0.0-46 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.0-46 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-java-3.0.0-46 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-46 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          Build couchbase-lite-net-3.0.0-33 contains couchbase-lite-core commit 1b40fc9 with commit message:
          CBL-220: Fix Windows issue with pre-epoch dates (#1090)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-33 contains couchbase-lite-core commit 1b40fc9 with commit message: CBL-220 : Fix Windows issue with pre-epoch dates (#1090)

          People

            jimb Jim Borden
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty