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/datetime.php') 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