react-native-switch-month-week
Version:
react native calendar with a week and month view
25 lines (19 loc) • 1.01 kB
text/typescript
import type { ITheme } from './type';
export const NUMBER_OF_PAGES = 12 * 10;
// export const NUMBER_OF_PAGES = 1;
export const DATE_FORMAT = 'YYYY-MM-DD'
const dayNamesShort_cn = ['日','一', '二', '三', '四', '五', '六']
const dayNamesShort_en = ['Sun','Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
const dayNamesShort_hk = ['日','一', '二', '三', '四', '五', '六']
const dayNamesShort_tw = ['日','一', '二', '三', '四', '五', '六']
const dayNamesShort_id = ['MIN','SEN', 'SEL', 'RAB', 'KAM', 'JUM', 'SAB']
export const dayNamesFormatCN = ['周日','周一', '周二', '周三', '周四', '周五', '周六']
export const dayNamesFormatHK = ['星期日','星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
export const dayNamesFormatTW = ['週日','週一', '週二', '週三', '週四', '週五', '週六']
export const DayNamesShort ={
cn: dayNamesShort_cn,
en: dayNamesShort_en,
hk: dayNamesShort_hk,
tw: dayNamesShort_tw,
id: dayNamesShort_id,
}