summaryrefslogtreecommitdiff
path: root/includes/components/planner.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/components/planner.inc')
-rw-r--r--includes/components/planner.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/components/planner.inc b/includes/components/planner.inc
index a7ec44f..9be9cb7 100644
--- a/includes/components/planner.inc
+++ b/includes/components/planner.inc
@@ -122,11 +122,11 @@ function school($time, $first = false) {
if (isset($school[$day])) {
if (isset($school[$day]["wakeUp"]["timestamp"])) {
- $parts[] = "waking up at " . formatTime($school[$day]["wakeUp"][$_PROFILE["login"]]) . " (your time)";
+ $parts[] = "waking up at " . formatTime($school[$day]["wakeUp"][$_PROFILE["login"]]);
}
if (isset($school[$day]["sleep"]["timestamp"])) {
- $parts[] = "sleeping at " . formatTime($school[$day]["sleep"][$_PROFILE["login"]]) . " (your time)";
+ $parts[] = "sleeping at " . formatTime($school[$day]["sleep"][$_PROFILE["login"]]);
}
}
@@ -136,7 +136,7 @@ function school($time, $first = false) {
if ($first) {
return ucfirst(implode(", ", $parts));
} else {
- return " ยท " . implode(", ", $parts);
+ return "<br>" . ucfirst(implode(", ", $parts));
}
} else {
if ($first) {
@@ -278,7 +278,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis
<td colspan="10" style="padding: 0;border:none;">
<div style="padding: 5px 10px;border: 1px solid #404040;margin:-1px;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;">
<?php if (count($dayCloudburst) > 0 && count($dayRaindrops) > 0): ?>
- <?= getMiniName(getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["name"]) ?> will sleep with <?= getMiniName(getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["name"]) ?><?= school(time() + 86400 * $diff, false) ?>
+ <?= getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayCloudburst[count($dayCloudburst) - 1][0])["name"] ?> will sleep with <?= getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["display_name"] ?? getMemberWithoutSystem($dayRaindrops[count($dayRaindrops) - 1][0])["name"] ?><?= school(time() + 86400 * $diff, false) ?>
<?php else: ?>
<?= school(time() + 86400 * $diff, true) ?>
<?php endif; ?>