@momo-kits/calendar 0.0.40-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 +1 -1
- package/src/CalendarPro.js +2 -2
package/package.json
CHANGED
package/src/CalendarPro.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from 'react-native';
|
|
12
12
|
import Moment from 'moment';
|
|
13
13
|
import {
|
|
14
|
-
Text, SwitchLanguage,
|
|
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 =
|
|
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}>
|