Fixed server-time timestamps issue regarding local time.
This commit is contained in:
parent
25288120be
commit
73c9321361
@ -1368,6 +1368,9 @@ handle_message_tag_time (const char *time, message_tags_data *tags_data)
|
|||||||
tags_data->timestamp = 0;
|
tags_data->timestamp = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* get rid of the local time (mktime() receives a local calendar time) */
|
||||||
|
tags_data->timestamp -= timezone;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user