moved dateformatter to separate file, simplified hours2min call