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. 2
      reserve.inc

2
reserve.inc

@ -277,7 +277,7 @@ function reserve_hours($option = NULL) {
}
// 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));
}

Loading…
Cancel
Save