1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

core: display an error message if the date can not be parsed with command /print -date

This commit is contained in:
Sébastien Helleu
2025-11-11 10:41:55 +01:00
parent e5285c5545
commit cfcadd155d
+2 -1
View File
@@ -5599,7 +5599,8 @@ COMMAND_CALLBACK(print)
}
else
{
util_parse_time (argv[i], &tv_date);
if (!util_parse_time (argv[i], &tv_date))
COMMAND_ERROR;
}
}
else if (string_strcmp (argv[i], "-tags") == 0)