better handling of date and time for external gps