Set the tm_isdst flag to -1 before calling mktime().  Otherwise, the current
timezone setting is used for the new date.
1 file changed