diff --git a/src/libs/DateUtils.js b/src/libs/DateUtils.js index 84b44f501a15..7b9e77d9c919 100644 --- a/src/libs/DateUtils.js +++ b/src/libs/DateUtils.js @@ -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';