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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user