react-native-month-picker icon indicating copy to clipboard operation
react-native-month-picker copied to clipboard

moment locale problem

Open azatTemirbek opened this issue 3 years ago • 0 comments

At first render month translations not applied so it displays in English on re render it renders correct month names. I guess we should move

componentDidMount() {
    moment.updateLocale(this.props.localeLanguage, this.props.localeSettings);
  }

to the constructor or provide moment from props so that user could provide own moment.

azatTemirbek avatar Jul 22 '20 11:07 azatTemirbek