[mythtv-commits] [MythTV/mythtv] 8f2880: Use the correct QDateTime time specification.

David Hampton noreply at github.com
Wed Dec 18 23:38:33 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 8f28804ec07a44d30968e98544b59fed89e75c32
      https://github.com/MythTV/mythtv/commit/8f28804ec07a44d30968e98544b59fed89e75c32
  Author: David Hampton <mythtv at love2code.net>
  Date:   2024-12-18 (Wed, 18 Dec 2024)

  Changed paths:
    M mythtv/libs/libmythbase/http/mythhttpcache.cpp
    M mythtv/libs/libmythbase/test/test_rssparse/test_rssparse.cpp
    M mythtv/libs/libmythupnp/httprequest.cpp

  Log Message:
  -----------
  Use the correct QDateTime time specification.

Creating a QDateTime and specifying Qt::OffsetFromUTC without also
providing a time off offset, is the same thing as specifying Qt::UTC.
Use the latter constant since it better describes what is happening.

Also, calling setTimeSpec(Qt::OffsetFromUTC) is identical to
setTimeSpec(Qt::UTC) since there is no way to pass an offset to this
call. Use the latter constant since it better describes what is
happening.



To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications


More information about the mythtv-commits mailing list