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

Windows cannot handle dates before 1970 with C API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 2.5.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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty