Fix bug in TimeDistanceFormat.