Skip to content

Commit

Permalink
Use day limits here too.
Browse files Browse the repository at this point in the history
Bug: 14499
  • Loading branch information
yunosh committed Oct 31, 2016
1 parent eef0ba5 commit 4a69782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/templates/dynamic/workweek.inc
Expand Up @@ -34,7 +34,7 @@
<table class="kronolith-view kronolithViewDay">
<tbody id="kronolithViewWorkweekBody">
<?php for ($i = 0; $i < 24; $i++): ?>
<tr<?php if ($i < 9 || $i > 19) echo ' class="kronolithNight"' ?>>
<tr<?php if ($i < $dayStart || $i >= $dayEnd) echo ' class="kronolithNight"' ?>>
<td class="kronolith-first-col"><span><?php echo $ampm ? ($i % 12 ? ($i % 12): 12) : $i ?>:00</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
Expand Down

0 comments on commit 4a69782

Please sign in to comment.