extjs 日期控件的星期在哪配置?
1个回答
展开全部
在他的所竖蔽有js里搜余改州“feb”找找看~~~
ext-all.js中的话有这些定义:
dayNames : ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
"Friday", "Saturday"],
monthNames : ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November",
"December"],
monthNumbers : {
Jan : 0,
Feb : 1,
Mar : 2,
Apr : 3,
May : 4,
Jun : 5,
Jul : 6,
Aug : 7,
Sep : 8,
Oct : 9,
Nov : 10,
Dec : 11
},
你在看下ext-lang-zh_CN.js这里,这个是中文的国际化文件
Date.monthNames = [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月"
];
Date.dayNames = [
"日",
"一",
"二",
"三",
"四",
"五",
"六歼拿"
];
然后照着改改就哦了~
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询