1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 11:12:19 -05:00

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

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);