program > calendar : remove endtime #5
This commit is contained in:
parent
3a540d1d44
commit
a6631f6ccb
1 changed files with 6 additions and 6 deletions
|
|
@ -117,18 +117,18 @@
|
|||
$formatter = new IntlDateFormatter('fr_FR', IntlDateFormatter::NONE, IntlDateFormatter::NONE);
|
||||
$formattedDate = $formatter->formatObject($date, "d MMMM");
|
||||
|
||||
try {
|
||||
$endTime = strlen($session['duration']) > 0 ? getEndTime($session) : false;
|
||||
} catch (\Throwable $th) {
|
||||
throw new Exception($session['title'] .' - ' . $th->getMessage(), 1);
|
||||
}
|
||||
// try {
|
||||
// $endTime = strlen($session['duration']) > 0 ? getEndTime($session) : false;
|
||||
// } catch (\Throwable $th) {
|
||||
// throw new Exception($session['title'] .' - ' . $th->getMessage(), 1);
|
||||
// }
|
||||
?>
|
||||
<template x-if="tab === 'Calendrier' || ('<?= $session['categories'] ?>'.length > 0 && tab.includes('<?= $session['categories'] ?>'))">
|
||||
<li class="collapsable__item--padding session grid js-link" style="--color: <?= $session['color'] ?>">
|
||||
<div class="left-column">
|
||||
<div class="session__info">
|
||||
<p><?= $formattedDate ?></p>
|
||||
<p><?= $session['time'] ?><?php e($endTime, ' - ' . $endTime) ?></p>
|
||||
<p><?= $session['time'] ?><?php //e($endTime, ' - ' . $endTime) ?></p>
|
||||
</div>
|
||||
<div class="session__info">
|
||||
<p><strong><?= $session['title'] ?></strong></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue