BootStrapz2Datetimepicker汉化的示例分析
这篇文章给大家分享的是有关BootStrapz2Datetimepicker汉化的示例分析的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
成都创新互联,为您提供网站建设、成都网站制作、网站营销推广、网站开发设计,对服务成都混凝土搅拌罐等多个行业拥有丰富的网站建设及推广经验。成都创新互联网站建设公司成立于2013年,提供专业网站制作报价服务,我们深知市场的竞争激烈,认真对待每位客户,为客户提供赏心悦目的作品。 与客户共同发展进步,是我们永远的责任!
页面引用:
$('input[name=date-range]').daterangepicker({ 'applyClass' : 'btn-sm btn-success', 'cancelClass' : 'btn-sm btn-default', locale: Config.daterangepicker_locale.zh_CN });
daterangepicker汉化
/** * daterangepicker locale */ daterangepicker_locale: { zh_CN: { applyLabel: '确定', cancelLabel: '取消', daysOfWeek: ["日","一","二","三","四","五","六"], monthNames: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"] } }
datetimepicker汉化
/** * daterangepicker locale */ daterangepicker_locale: { zh_CN: { days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], today: "今天", suffix: [], meridiem: ["上午", "下午"] } }
感谢各位的阅读!关于“BootStrapz2Datetimepicker汉化的示例分析”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
网站题目:BootStrapz2Datetimepicker汉化的示例分析
当前网址:http://cdiso.cn/article/jjecsi.html