phpmyadmin日期选择器开始工作日
请问,您是否知道如何更改PhpMyAdmin(4.5.0.2)中的datepicker以显示使用星期一作为一周第一天的日历?按照标准方式,有星期天,我在“设置”中到处搜索,但没有找到这一个。对此没有设置,但这是4.5.0.2的补丁:phpmyadmin日期选择器开始工作日,phpmyadmin,Phpmyadmin,请问,您是否知道如何更改PhpMyAdmin(4.5.0.2)中的datepicker以显示使用星期一作为一周第一天的日历?按照标准方式,有星期天,我在“设置”中到处搜索,但没有找到这一个。对此没有设置,但这是4.5.0.2的补丁: diff --git a/js/functions.js b/js/functions.js index 5e6e9d6..efc8319 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1249,7 +
diff --git a/js/functions.js b/js/functions.js
index 5e6e9d6..efc8319 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1249,7 +1249,8 @@ function addDateTimePicker() {
PMA_addDatepicker($(this), type, {
showMillisec: showMillisec,
showMicrosec: showMicrosec,
- timeFormat: timeFormat
+ timeFormat: timeFormat,
+ firstDay: 1
});
});
}
尝试配置区域设置属性。看看这里,有新版本的phpMyAdmin,但仍然没有包括切换每周第一天的功能:(我仍然必须手动更改它。我认为这不是一个足够普遍的请求,无法在代码中实现它,但请随意在上打开一个问题。)