ext4 date 汉化

来源:互联网 发布:怎样打开Windows目录 编辑:程序博客网 时间:2024/06/05 03:13
Date.monthNames=["一月", "二月", "三月", "四月", "五月", "六月","七月","八月","九月","十月","十一月","十二月"];
 Date.dayNames = ["日", "一", "二", "三", "四", "五", "六"];

 if (Ext.DatePicker) {
  Ext.apply(Ext.DatePicker.prototype, {
   todayText : "今天",
   minText : "日期在最小日期之前",
   maxText : "日期在最大日期之后",
   disabledDaysText : "",
   disabledDatesText : "",
   monthNames : Date.monthNames,
   dayNames : Date.dayNames,
   nextText : '下月 (Control+Right)',
   prevText : '上月 (Control+Left)',
   monthYearText : '选择一个月 (Control+Up/Down 来改变年)',
   todayTip : "{0} (Spacebar)",
   okText : "确定",
   cancelText : "取消",
  // format : "y年m月d日",
   longDayFormat:"Y年m月d日"
  });
 }
原创粉丝点击