Replaced boost::local_time with struct tm.