Fixed bug in handle_message_tag_time().

This commit is contained in:
Diogo Sousa 2013-06-28 22:08:35 +01:00
parent 00e15828a1
commit d99d951f7f
1 changed files with 2 additions and 1 deletions

View File

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