Skip to content

Commit

Permalink
Fixes Anglais dans le rapport IPO
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSpy committed Sep 5, 2016
1 parent acfd659 commit 8c192a9
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions module/IPO/src/IPO/Controller/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function exportAction()
}

$formatter = \IntlDateFormatter::create(
\Locale::getDefault(),
'fr_FR',
\IntlDateFormatter::FULL,
\IntlDateFormatter::FULL,
'UTC',
Expand All @@ -78,25 +78,16 @@ public function exportAction()
);

$formatterYear = \IntlDateFormatter::create(
\Locale::getDefault(),
'fr_FR',
\IntlDateFormatter::FULL,
\IntlDateFormatter::FULL,
'UTC',
\IntlDateFormatter::GREGORIAN,
'EEEE d MMMM Y'
);

$formatterHour = \IntlDateFormatter::create(
\Locale::getDefault(),
\IntlDateFormatter::FULL,
\IntlDateFormatter::FULL,
'UTC',
\IntlDateFormatter::GREGORIAN,
'HH:mm'
);

$formatterDayHour = \IntlDateFormatter::create(
\Locale::getDefault(),
'fr_FR',
\IntlDateFormatter::FULL,
\IntlDateFormatter::FULL,
'UTC',
Expand Down

0 comments on commit 8c192a9

Please sign in to comment.