1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +02:00

irc: fix time parsed in tag of messages on Cygwin

This commit is contained in:
Sebastien Helleu
2014-01-11 00:30:03 +01:00
parent f8b2c6f5ac
commit e5b0b827ef
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -72,6 +72,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* aspell: fix detection of nicks with non-alphanumeric chars
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
(bug #40628)
* irc: fix time parsed in tag of messages on Cygwin
* irc: use statusmsg from message 005 to check prefix char in status
notices/messages
* irc: remove display of channel in channel notices, display "PvNotice" for
+1 -1
View File
@@ -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);