Fixes timestamp format