Skip to content

Commit

Permalink
Configuration of the time period - the date in the calendar is incomp…
Browse files Browse the repository at this point in the history
…lete (the year is missing)
  • Loading branch information
ibering committed Jun 2, 2023
1 parent f3d79d6 commit 2b56e63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2262,7 +2262,7 @@ public function exportTimeperiods($uuid = null) {
$timestamp = strtotime(sprintf('%s 00:00', $holiday->get('date')));

$calendarDay = sprintf('%s 00:00-24:00; %s',
strtolower(date('F j', $timestamp)),
strtolower(date('Y-m-d', $timestamp)),
$holiday->get('name')
);
$content .= $this->addContent($calendarDay, 1);
Expand Down Expand Up @@ -2378,7 +2378,7 @@ public function exportSatTimeperiods($timeperiods, EntityInterface $satelite) {
$timestamp = strtotime(sprintf('%s 00:00', $holiday->get('date')));

$calendarDay = sprintf('%s 00:00-24:00; %s',
strtolower(date('F j', $timestamp)),
strtolower(date('Y-m-d', $timestamp)),
$holiday->get('name')
);
$content .= $this->addContent($calendarDay, 1);
Expand Down

0 comments on commit 2b56e63

Please sign in to comment.