formats timestamps properly for chirps