From 74b574d0b1874b0811837d9ac4472f1084800aeb Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 21 Nov 2015 23:49:29 +0100 Subject: datetimepicker should also respect first day of week setting --- include/datetime.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/datetime.php b/include/datetime.php index b0167edb2..5ae33d1a0 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -198,7 +198,7 @@ function timesel($format, $h, $m, $id='timepicker') { * @todo Once browser support is better this could probably be replaced with * native HTML5 date picker. */ -function datetimesel($format, $min, $max, $default, $id = 'datetimepicker', $pickdate = true, $picktime = true, $minfrom = '', $maxfrom = '', $required = false) { +function datetimesel($format, $min, $max, $default, $id = 'datetimepicker', $pickdate = true, $picktime = true, $minfrom = '', $maxfrom = '', $required = false, $first_day = 0) { $o = ''; $dateformat = ''; @@ -234,7 +234,7 @@ function datetimesel($format, $min, $max, $default, $id = 'datetimepicker', $pic $o .= "
"; $o .= (($required) ? '*' : ''); $o .= '
'; - $o .= ""; + $o .= ""; return $o; } -- cgit v1.2.3 From 18e0e4b597b4bb2a97b729c3a2843976d393799b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 21 Nov 2015 23:51:50 +0100 Subject: do not hide scrollbars --- include/datetime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/datetime.php b/include/datetime.php index 5ae33d1a0..63287d023 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -234,7 +234,7 @@ function datetimesel($format, $min, $max, $default, $id = 'datetimepicker', $pic $o .= "
"; $o .= (($required) ? '*' : ''); $o .= '
'; - $o .= ""; + $o .= ""; return $o; } -- cgit v1.2.3