Browse Source

Here as well

tags/3.6
Michael 2 years ago
parent
commit
ab73dbf346
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      include/datetime.php

+ 1
- 4
include/datetime.php View File

@@ -280,10 +280,7 @@ function timesel($format, $h, $m, $id = 'timepicker') {
function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicker', $pickdate = true, $picktime = true, $minfrom = '', $maxfrom = '', $required = false) {

// First day of the week (0 = Sunday)
$firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week');
if ($firstDay === false) {
$firstDay=0;
}
$firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week', 0);

$lang = substr(get_browser_language(), 0, 2);


Loading…
Cancel
Save