Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11273

Make Date_t support times before the epoch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 13 (04/22/16), Query 2017-08-21

      Description

      Not all of our supported platforms guarantee support of times before the epoch. We need cross platform solution.

      Specifically, certain versions of Visual Studio do not support negative values of time_t. We depend on OS libraries for converting time_t to and from strings, via struct tm (gmtime, e.g.).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              derick Derick Rethans
              Reporter:
              sverch Shaun Verch
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: