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
  • Loading branch information
roryabraham authored Jun 25, 2021
2 parents 3ed8538 + 00ebee9 commit 20312de
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 20312de

Please sign in to comment.