Core: GetTimeZoneText, SMTP: fixed Date field time zone info

git-svn-id: svn://ultimatepp.org/upp/trunk@5065 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-06-20 12:24:09 +00:00
commit 6f0d44b3bb
4 changed files with 16 additions and 2 deletions

View file

@ -329,7 +329,8 @@ bool SmtpMail::Send()
msg << "Date: "
<< dayofweek[DayOfWeek(time_sent)] << ", "
<< (int)time_sent.day << ' ' << month[time_sent.month - 1] << ' ' << (int)time_sent.year
<< ' ' << Sprintf("%2d:%02d:%02d +0100", time_sent.hour, time_sent.minute, time_sent.second)
<< ' ' << Sprintf("%2d:%02d:%02d " + GetTimeZoneText(),
time_sent.hour, time_sent.minute, time_sent.second)
<< "\r\n";
}
if(multi || alter)