@momo-kits/calendar 0.0.36-beta → 0.0.41-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/calendar",
3
- "version": "0.0.36-beta",
3
+ "version": "0.0.41-beta",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},
@@ -11,7 +11,7 @@ import {
11
11
  } from 'react-native';
12
12
  import Moment from 'moment';
13
13
  import {
14
- Text, SwitchLanguage, Language, Colors, Image, IconSource
14
+ Text, SwitchLanguage, LocalizedStrings, Colors, Image, IconSource
15
15
  } from '@momo-kits/core';
16
16
  import MonthList from './MonthList';
17
17
  import HeaderControl from './HeaderControl';
@@ -283,7 +283,7 @@ export default class CalendarPro extends Component {
283
283
  {temp && temp.length > 0 && temp.map((item, idx) => {
284
284
  const labelHoliday = showLunar ? (item.mixedLabel || item.label || '') : (item.label || '');
285
285
  const labelHighlight = showLunar ? (item.highlight || '') : '';
286
- const labelDate = Language.defaultLanguage === 'en' ? `${Util.mapMonthShorten(item.month)} ${item.day}` : `${item.day} tháng ${item.month}`;
286
+ const labelDate = LocalizedStrings.defaultLanguage === 'en' ? `${Util.mapMonthShorten(item.month)} ${item.day}` : `${item.day} tháng ${item.month}`;
287
287
  return (
288
288
  <View style={styles.row} key={idx.toString()}>
289
289
  <Text.SubTitle style={styles.txtMonthLunar}>