https://bugs.kde.org/show_bug.cgi?id=340260

--- Comment #3 from Laurent Montel <[email protected]> ---
Please paste or attach an exact message here please.

Because ODATE == original date
see code:
"
            } else if ( cmd.startsWith( QLatin1String( "ODATE" ) ) ) {
                kDebug() << "Command: ODATE";
                i += strlen( "ODATE" );
                if ( mOrigMsg ) {
                    const QDateTime date =
mOrigMsg->date()->dateTime().dateTime();
                    const QString str = KGlobal::locale()->formatDate(
date.date(), KLocale::LongDate );
                    plainBody.append( str );
                    const QString body = plainToHtml( str );
                    htmlBody.append( body );
                }
"
=> it will take date from original message.

So I need to have a exact message for testing it.
For me code is ok.

I don't understand how it can take another date.
Template uses currentDate => %DATE or original date %ODATE

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to