Fixed another bug in handle_message_tag_time(): tm_mon is between 0 and 11.
This commit is contained in:
parent
d99d951f7f
commit
25288120be
@ -1358,6 +1358,7 @@ handle_message_tag_time (const char *time, message_tags_data *tags_data)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
t.tm_year -= 1900;
|
t.tm_year -= 1900;
|
||||||
|
t.tm_mon -= 1;
|
||||||
t.tm_isdst = 0; /* day light saving time */
|
t.tm_isdst = 0; /* day light saving time */
|
||||||
|
|
||||||
tags_data->timestamp = mktime (&t);
|
tags_data->timestamp = mktime (&t);
|
||||||
|
Loading…
Reference in New Issue
Block a user