Browse Source

Issue #3253008 by Sunil Chaurasiya: Reserve switch to 24 hours format not working - configuration issue

4.0.x-roblib
sunilschaurasiya 3 years ago committed by Peter Lindstrom
parent
commit
57ddc09cf1
  1. 4
      reserve.inc

4
reserve.inc

@ -277,7 +277,7 @@ function reserve_hours($option = NULL) {
} }
// convert display to 24:00 format if required // convert display to 24:00 format if required
if ($config->get('reserve_hour_format')) { if ($config->get('hour_format') == 1) {
$display = date('H:i', strtotime($display)); $display = date('H:i', strtotime($display));
} }
@ -1123,4 +1123,4 @@ function reserve_get_ebundle_category_field($ebundle) {
return $field; return $field;
} }
} }
} }

Loading…
Cancel
Save