Fix error in formatting the expiration timestamp