mruby-time: fix check of `mktime`'s return value
>If the calendar time cannot be represented, the function returns the value (time_t)(-1). http://www.iso-9899.info/n1256.html#7.23.2.3p3
Showing
Please register or sign in to comment
>If the calendar time cannot be represented, the function returns the value (time_t)(-1). http://www.iso-9899.info/n1256.html#7.23.2.3p3