I had to read the code for understanding the why it failed, in src/core/misc.c:
<-- snip -->
...
int parse_time_interval(const char time, int msecs)
{
...
if (g_ascii_strncasecmp(desc, "days", len) == 0) {
if (number > 24) {
/ would overflow /
return FALSE;
}
...
<-- snip -->
Please change the implementations to something that allows more than 24 days (e.g. by returning seconds instead of milliseconds, or by by using a 64bit integer), or output at least a useful error message.
/set scrollback_time 31days 15:07 -!- Irssi: Invalid timestamp
I had to read the code for understanding the why it failed, in src/core/misc.c:
<-- snip -->
... int parse_time_interval(const char time, int msecs) { ... if (g_ascii_strncasecmp(desc, "days", len) == 0) { if (number > 24) { / would overflow / return FALSE; } ...
<-- snip -->
Please change the implementations to something that allows more than 24 days (e.g. by returning seconds instead of milliseconds, or by by using a 64bit integer), or output at least a useful error message.