Fixed server-time timestamps issue regarding local time.

This commit is contained in:
Diogo Sousa 2013-06-30 15:00:38 +01:00
parent 25288120be
commit 73c9321361
1 changed files with 3 additions and 0 deletions

View File

@ -1368,6 +1368,9 @@ handle_message_tag_time (const char *time, message_tags_data *tags_data)
tags_data->timestamp = 0;
return;
}
/* get rid of the local time (mktime() receives a local calendar time) */
tags_data->timestamp -= timezone;
}
else
{