Skip to content

Commit

Permalink
Merge pull request #19 from ldaril/patch-2
Browse files Browse the repository at this point in the history
Add spaces in an event date
  • Loading branch information
sdebacker authored Apr 9, 2018
2 parents 610b499 + 24f5308 commit d11e8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Presenters/ModulePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ public function dateFromTo()
}
}

$dateFromTo = ucfirst(__('from'));
$dateFromTo = ucfirst(__('from')).' ';
$dateFromTo .= '<time datetime="'.$sDate->toIso8601String().'">';
$dateFromTo .= $sDate->formatLocalized($sDateFormat);
$dateFromTo .= '</time>';
$dateFromTo .= __('to');
$dateFromTo .= ' '.__('to').' ';
$dateFromTo .= '<time datetime="'.$eDate->toIso8601String().'">';
$dateFromTo .= $eDate->formatLocalized($dateFormat);
$dateFromTo .= '</time>';
Expand Down

0 comments on commit d11e8f1

Please sign in to comment.