summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-01-11 00:30:03 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-01-11 00:30:03 +0100
commite5b0b827ef230044eb039c9ce58f41515b03f0e0 (patch)
tree27ed818d0dbafa9c9e6aaf20bd759bddef57b8d8 /src/plugins/irc
parentf8b2c6f5ac58260a40eac55282aad7a4aef0b496 (diff)
downloadweechat-e5b0b827ef230044eb039c9ce58f41515b03f0e0.zip
irc: fix time parsed in tag of messages on Cygwin
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index ba0723b43..125c819ae 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -4819,7 +4819,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, "%FT%T%z", &tm_date);
+ strptime (tag_time, "%Y-%m-%dT%H:%M:%S%z", &tm_date);
if (tm_date.tm_year > 0)
{
time_msg = mktime (&tm_date);