This commit is contained in:
Theo 2024-01-18 10:23:49 +01:00
parent 6d57767987
commit 1a78fb2726
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
<?php <?php
$_SESSION["typeU"] = "comptable";
require_once(__DIR__ . '/../Class/class.gestionFiche.php'); require_once(__DIR__ . '/../Class/class.gestionFiche.php');
$gestionFiche = new Class_gestionFiche($pdo); $gestionFiche = new Class_gestionFiche($pdo);

View File

@ -1,6 +1,8 @@
<?php <?php
/** /**
* sudo date --set "YYYY-MM-DD HH:MM:SS" * sudo date --set "YYYY-MM-DD HH:MM:SS"
* sudo apt install php8.2-intl
* sudo service apache2 restart
*/ */
require_once(__DIR__ . '/../Class/class.newFiche.php'); require_once(__DIR__ . '/../Class/class.newFiche.php');
@ -38,9 +40,7 @@ if (isset($_GET['currentList'])) {
} }
//Date du header en français //Date du header en français
try { try {
//sudo timedatectl set-local-rtc 1
//sudo apt install php8.2-intl
//sudo service apache2 restart
$format = new IntlDateFormatter( $format = new IntlDateFormatter(
'fr_FR', 'fr_FR',
IntlDateFormatter::FULL, IntlDateFormatter::FULL,