Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-36

Replace DateTime.Now with DateTime.UtcNow to avoid daylight saving time issues

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      In PooledConnectionFactory and RawConnection, the usage of DateTime.Now will cause unexpected behavior when clock adjustments are made because of daylight saving time. Switching to DateTime.UtcNow will avoid this.

      Attachments

        Activity

          People

            lanwin Steve Wagner
            dmarien Doug Marien
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: