prevents error with strftime and dates before 1900