Fix code to check legal dates *before* calling localtime() to get the
time zone. Previously, localtime() rotated a date with a day of month field which exceeded the actual range into the next months, masking the fact that a bad date had been specified. Regression tests pass.
Showing
想要评论请 注册 或 登录