translate date to french : add locals
This commit is contained in:
parent
a2d918ed82
commit
1eb88cf679
3 changed files with 5 additions and 2 deletions
|
|
@ -3,7 +3,8 @@
|
||||||
"allow": [
|
"allow": [
|
||||||
"Bash(git add:*)",
|
"Bash(git add:*)",
|
||||||
"Bash(git commit:*)",
|
"Bash(git commit:*)",
|
||||||
"Bash(cat:*)"
|
"Bash(cat:*)",
|
||||||
|
"WebFetch(domain:unicode-org.github.io)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
|
'locale' => 'fr_FR.UTF-8',
|
||||||
|
'date.handler' => 'intl',
|
||||||
'thumbs' => [
|
'thumbs' => [
|
||||||
'quality' => 80,
|
'quality' => 80,
|
||||||
'presets' => [
|
'presets' => [
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
<?php if ($investigation->incidentDate()->isNotEmpty()): ?>
|
<?php if ($investigation->incidentDate()->isNotEmpty()): ?>
|
||||||
<div class="dl__group">
|
<div class="dl__group">
|
||||||
<dt>Date de l'incident</dt>
|
<dt>Date de l'incident</dt>
|
||||||
<dd><time datetime="<?= $investigation->incidentDate()->toDate('Y-m-d') ?>"><?= $investigation->incidentDate()->toDate('d F Y') ?></time></dd>
|
<dd><time datetime="<?= $investigation->incidentDate()->toDate('yyyy-MM-dd') ?>"><?= $investigation->incidentDate()->toDate('d MMMM yyyy', 'fr_FR') ?></time></dd>
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue