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