Commit abdc9f40 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix DAYOFWEEK

parent b34bb081
......@@ -217,7 +217,7 @@ QString ConvertSnippetVariablesJob::convertVariables(MessageComposer::ComposerVi
} else if (cmd.startsWith(QLatin1String("DAYOFWEEK"))) {
i += strlen("DAYOFWEEK");
const QDate date = QDate::currentDate();
result.append(date.dayOfWeek());
result.append(QString::number(date.dayOfWeek()));
} else {
result.append(c);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment