I'm looking for the datetime from qt to return me the string as an isodate but with the timezone. I looked on the web for sometimes for my problem but found no solution
I just got this:
this->ui.dateEnd->dateTime().toString(Qt::ISODate);
giving me this:
1900-10-31T23:00:00Z
Or also this:
this->ui.dateEnd->dateTime().toUfc().toString(Qt::ISODate);
giving me this:
1900-10-31T23:00:00Z
and i want this:
1900-10-31T23:00:00+01.00.00
Thank you if someone have an idea!
dateTime.toTimeSpec(Qt::OffsetFromUTC).toString(Qt::ISODate)
should work (according to docs), but it seems that there is a bug.