diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-11 00:30:03 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-11 00:30:03 +0100 |
commit | e5b0b827ef230044eb039c9ce58f41515b03f0e0 (patch) | |
tree | 27ed818d0dbafa9c9e6aaf20bd759bddef57b8d8 /src/plugins | |
parent | f8b2c6f5ac58260a40eac55282aad7a4aef0b496 (diff) | |
download | weechat-e5b0b827ef230044eb039c9ce58f41515b03f0e0.zip |
irc: fix time parsed in tag of messages on Cygwin
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 2 |
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); |