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

          jimb Jim Borden created issue -
          daniel.petersen Daniel Petersen made changes -
          Field Original Value New Value
          Fix Version/s Mercury [ 16188 ]
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Lithium [ 16190 ]
          Fix Version/s Mercury [ 16188 ]
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Hydrogen [ 16189 ]
          Fix Version/s Lithium [ 16190 ]
          daniel.petersen Daniel Petersen made changes -
          Story Points 5
          daniel.petersen Daniel Petersen made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Lithium [ 16190 ]
          Fix Version/s Hydrogen [ 16189 ]
          Priority Minor [ 4 ] Major [ 3 ]
          daniel.petersen Daniel Petersen made changes -
          Assignee The Lite [ cbgto ] Jim Borden [ jimb ]
          daniel.petersen Daniel Petersen made changes -
          Sprint Jim 35 [ 1338 ]
          daniel.petersen Daniel Petersen made changes -
          Rank Ranked higher
          jimb Jim Borden made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jimb Jim Borden made changes -
          Status In Progress [ 3 ] In Review [ 10107 ]
          Automated transition triggered when Jim Borden merged pull request #1090 in GitHub -
          Resolution Fixed [ 1 ]
          Status In Review [ 10107 ] Resolved [ 5 ]
          jimb Jim Borden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          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