Fixing mktime and strftime, work in progress. Unifying all date handling in time_util