diff options
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 873ffde49..085f0355d 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -32,6 +32,7 @@ Bug fixes:: * core: fix forced highlight on messages sent to other buffers (issue #1277) * buflist: fix warning displayed when script buffers.pl is loaded (issue #1274) + * irc: fix parsing of "time" message tag on FreeBSD (issue #1289) * relay: fix memory leak in connection of client Tests:: diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index a4100294c..568cf33ae 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -6107,7 +6107,7 @@ irc_protocol_get_message_tag_time (struct t_hashtable *tags) if (strchr (tag_time, '-')) { /* date is with ISO 8601 format: "2012-11-24T07:41:02.018Z" */ - strptime (tag_time, "%Y-%m-%dT%H:%M:%S%z", &tm_date); + strptime (tag_time, "%Y-%m-%dT%H:%M:%S", &tm_date); if (tm_date.tm_year > 0) { time_msg = mktime (&tm_date); |