diff --git a/src/libs/actions/App.js b/src/libs/actions/App.js index b36edc54630..e6914a2ceff 100644 --- a/src/libs/actions/App.js +++ b/src/libs/actions/App.js @@ -210,10 +210,14 @@ function setUpPoliciesAndNavigate(session, currentPath) { function openProfile() { const oldTimezoneData = myPersonalDetails.timezone || {}; - const newTimezoneData = { - automatic: lodashGet(oldTimezoneData, 'automatic', true), - selected: moment.tz.guess(true), - }; + let newTimezoneData = oldTimezoneData; + + if (lodashGet(oldTimezoneData, 'automatic', true)) { + newTimezoneData = { + automatic: true, + selected: moment.tz.guess(true), + }; + } API.write('OpenProfile', { timezone: JSON.stringify(newTimezoneData),