Fixed an issue where the auto_update_date was calculating the date
incorrectly. (Using localtime)