change time formats. Fixes #780