Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131949

Use UTC instead of local time for internal expiresAt representation

    XMLWordPrintable

Details

    • All
    • 3
    • 1bba3c2ff (dev), 38bfbbcf0 (6.9), 0fbb082ba (6.8), 1968c6696 (tqtc/lts-6.5)
    • Foundation Sprint 121

    Description

      Token expiration time is represented at local time in the QAbstractOAuth2 implementation. This is potentially flaky because local time is subject to daylight savings, timezone changes etc.

      Instead it is better to internally use stable UTC time, and convert it to local time when asked by the application.

      Attachments

        For Gerrit Dashboard: QTBUG-131949
        # Subject Branch Project Status CR V

        Activity

          People

            vuokko Juha Vuolle
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes