2008-06-04 02:34:33 +00:00
|
|
|
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
|
|
|
/* Written by Cloudream (cloudream@gmail.com). */
|
|
|
|
jQuery(function($){
|
2008-07-25 09:59:05 +00:00
|
|
|
$.datepicker.regional['zh-CN'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: '关闭',
|
2011-02-19 14:54:15 +00:00
|
|
|
prevText: '<上月',
|
|
|
|
nextText: '下月>',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: '今天',
|
2008-06-04 02:34:33 +00:00
|
|
|
monthNames: ['一月','二月','三月','四月','五月','六月',
|
|
|
|
'七月','八月','九月','十月','十一月','十二月'],
|
|
|
|
monthNamesShort: ['一','二','三','四','五','六',
|
|
|
|
'七','八','九','十','十一','十二'],
|
|
|
|
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
|
|
|
|
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
|
|
|
dayNamesMin: ['日','一','二','三','四','五','六'],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: '周',
|
2009-04-01 10:34:16 +00:00
|
|
|
dateFormat: 'yy-mm-dd',
|
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
2009-08-19 16:33:32 +00:00
|
|
|
showMonthAfterYear: true,
|
|
|
|
yearSuffix: '年'};
|
2008-06-04 02:34:33 +00:00
|
|
|
$.datepicker.setDefaults($.datepicker.regional['zh-CN']);
|
|
|
|
});
|