Fix potential issue where endtime gets PM instead of AM when differing system and local timezones.