Skip to content

Commit

Permalink
Merge pull request #3749 from Expensify/Rory-FixLanguagePicker
Browse files Browse the repository at this point in the history
Preload locales to fix native crash

(cherry picked from commit 20312de)
  • Loading branch information
roryabraham authored and OSBotify committed Jun 25, 2021
1 parent 2dfc177 commit 3fd2817
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/libs/DateUtils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import moment from 'moment';
import 'moment-timezone';
import moment from 'moment-timezone';

// IMPORTANT: load any locales (other than english) that might be passed to moment.locale()
import 'moment/locale/es';

import _ from 'underscore';
import Onyx from 'react-native-onyx';
import ONYXKEYS from '../ONYXKEYS';
Expand Down

0 comments on commit 3fd2817

Please sign in to comment.