]> Kevux Git Server - koopa/commitdiff
Cleanup: use 'minute' and 'second' (without s) for time- css class
authorKevin Day <thekevinday@gmail.com>
Fri, 28 Apr 2017 04:34:16 +0000 (23:34 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 28 Apr 2017 04:34:16 +0000 (23:34 -0500)
program/reservation/reservation_paths.php

index 673761ea8683196076c6e9807e2a776839c31d83..41c2712f85d4810a90dfd3222da6c93bbbbc8233 100644 (file)
@@ -822,8 +822,8 @@ class c_reservation_path extends c_base_path {
     $class[] = 'date-week_day-' . $html->sanitize_css(strtolower(date('l', $instance)))->get_value_exact();
     $class[] = 'date-day-' . $html->sanitize_css(date('d', $instance))->get_value_exact();
     $class[] = 'time-hour-' . $html->sanitize_css(date('H', $instance))->get_value_exact();
-    $class[] = 'time-minutes-' . $html->sanitize_css(date('m', $instance))->get_value_exact();
-    $class[] = 'time-seconds-' . $html->sanitize_css(date('s', $instance))->get_value_exact();
+    $class[] = 'time-minute-' . $html->sanitize_css(date('m', $instance))->get_value_exact();
+    $class[] = 'time-second-' . $html->sanitize_css(date('s', $instance))->get_value_exact();
     unset($instance);
 
     // add path classes