Fixed another bug in handle_message_tag_time(): tm_mon is between 0 and 11.

This commit is contained in:
Diogo Sousa 2013-06-28 23:42:11 +01:00
parent d99d951f7f
commit 25288120be
1 changed files with 1 additions and 0 deletions

View File

@ -1358,6 +1358,7 @@ handle_message_tag_time (const char *time, message_tags_data *tags_data)
return;
t.tm_year -= 1900;
t.tm_mon -= 1;
t.tm_isdst = 0; /* day light saving time */
tags_data->timestamp = mktime (&t);