From d467714f84b46d650fd8df37c04f94efbc8d1588 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Mon, 27 Oct 2014 15:42:30 -0400 Subject: [PATCH] Fixed bug where timezone wasn't adjusting correctly when adding or editing a show --- airtime_mvc/public/js/airtime/schedule/add-show.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 5e0ad5b37..0d22188c4 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -346,6 +346,8 @@ function setAddShowEvents(form) { startTimeField.val(json.start.time); endDateField.val(json.end.date); endTimeField.val(json.end.time); + // Change the timezone now that we've updated the times + currentTimezone = newTimezone; }); });