From 297f9ee5baa5fe2ac862150c4ee05e7d4f95552f Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sat, 19 Jul 2025 16:58:26 -0500 Subject: [PATCH] Base: Switch from toTimeSpec to toTimeZone for Qt 6.9 compatibility --- src/Base/Tools.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Base/Tools.cpp b/src/Base/Tools.cpp index 26a0867c8b..ae8ae8d1b9 100644 --- a/src/Base/Tools.cpp +++ b/src/Base/Tools.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #endif #include "PyExport.h" @@ -244,7 +245,7 @@ std::string Base::Tools::joinList(const std::vector& vec, const std std::string Base::Tools::currentDateTimeString() { return QDateTime::currentDateTime() - .toTimeSpec(Qt::OffsetFromUTC) + .toTimeZone(QTimeZone::systemTimeZone()) .toString(Qt::ISODate) .toStdString(); }