From 76c053cd3f52661cbe733d00b5171623fd22ffe8 Mon Sep 17 00:00:00 2001 From: Aldo Canepa Date: Tue, 13 Dec 2022 16:03:27 -0800 Subject: [PATCH] Update timezone correctly in the personal details --- src/libs/actions/Report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 082317c9db63..490b2112e8e9 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -459,7 +459,7 @@ function addActions(reportID, text = '', file) { optimisticData.push({ onyxMethod: CONST.ONYX.METHOD.MERGE, key: ONYXKEYS.PERSONAL_DETAILS, - value: {[currentUserEmail]: timezone}, + value: {[currentUserEmail]: {timezone}}, }); DateUtils.setTimezoneUpdated(); }