Dropping non-strftime() support and fixing -Werror problem