Skip to content

Commit

Permalink
Merge pull request #13574 from Expensify/aldo_fix-add-comment-timezon…
Browse files Browse the repository at this point in the history
…e-onyx

Update timezone correctly in the personal details
  • Loading branch information
aldo-expensify authored Dec 14, 2022
2 parents d26028a + 76c053c commit 163addf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 163addf

Please sign in to comment.