diff --git a/plugins/discourse-local-dates/test/javascripts/acceptance/local-dates-test.js.es6 b/plugins/discourse-local-dates/test/javascripts/acceptance/local-dates-test.js.es6 index 2e0ad23aa77..ceae0ca6eb1 100644 --- a/plugins/discourse-local-dates/test/javascripts/acceptance/local-dates-test.js.es6 +++ b/plugins/discourse-local-dates/test/javascripts/acceptance/local-dates-test.js.es6 @@ -46,6 +46,7 @@ function freezeDateAndZone(date, zone, cb) { cb(); moment.tz.guess.returns(DEFAULT_ZONE); + moment.tz.setDefault(DEFAULT_ZONE); sandbox.useFakeTimers(moment(DEFAULT_DATE).valueOf()); } }