Fix warnings about unsupported time format for ANSI C.