We can't directly use the QDateTime data format because it would then also process the letters between words that match the data formats.
For example, "Session default" would be interpreted as "Se35ion 7efpmulCEST".
yes, I understand, but then as you're just dealing with date-time substitution it would be interesting to have the QDateTime::toString() segregated from a delimited string, say %DT{...} ?
fort instance, "Session default %DT{yyyy-MM-dd hh:mm:ss}" would lead to "Session default 2026-04-08 12:34:56" ?
yes, I understand, but then as you're just dealing with date-time substitution it would be interesting to have the QDateTime::toString() segregated from a delimited string, say
%DT{...}?fort instance, "
Session default %DT{yyyy-MM-dd hh:mm:ss}" would lead to "Session default 2026-04-08 12:34:56" ?seeya