diff --git a/htdocs/public/dons/depenses_code.php b/htdocs/public/dons/depenses_code.php index d73eee86023..8d5207c315c 100644 --- a/htdocs/public/dons/depenses_code.php +++ b/htdocs/public/dons/depenses_code.php @@ -24,7 +24,7 @@ $conf = new Conf(); $db = new DoliDb(); -$a = setlocale(LC_TIME, "FRENCH"); +$a = setlocale(LC_TIME, "fr_FR"); $sql = "SELECT ".$db->pdate("f.datef")." as datef, s.nom, f.total, f.note, f.paye"; $sql .= " FROM llx_facture_fourn as f, llx_societe as s"; $sql .= " WHERE f.fk_soc = s.idp ORDER BY f.datef DESC"; diff --git a/htdocs/public/dons/donateurs_code.php b/htdocs/public/dons/donateurs_code.php index 0ff9639bdcb..fd5f67a0edc 100644 --- a/htdocs/public/dons/donateurs_code.php +++ b/htdocs/public/dons/donateurs_code.php @@ -23,7 +23,7 @@ $conf = new Conf(); $db = new DoliDb(); -$a = setlocale(LC_TIME, "FRENCH"); +$a = setlocale(LC_TIME, "fr_FR"); $sql = "SELECT ".$db->pdate("d.datedon")." as datedon, d.nom, d.prenom, d.amount, d.public, d.societe"; $sql .= " FROM llx_don as d"; $sql .= " WHERE d.fk_don_projet = 1 AND d.fk_statut in (2, 3) ORDER BY d.datedon DESC"; diff --git a/htdocs/public/dons/erreur.xhtml b/htdocs/public/dons/erreur.xhtml index 4b27566f8c5..7bdf06bb53f 100644 --- a/htdocs/public/dons/erreur.xhtml +++ b/htdocs/public/dons/erreur.xhtml @@ -35,7 +35,7 @@ diff --git a/htdocs/public/dons/index.php b/htdocs/public/dons/index.php index ef3847c1076..f632bed7565 100644 --- a/htdocs/public/dons/index.php +++ b/htdocs/public/dons/index.php @@ -72,7 +72,7 @@ if ($conf->don->enabled) if ($ref_commande) { - $a = setlocale(LC_TIME, "FRENCH"); + $a = setlocale(LC_TIME, "fr_FR"); $date_limite = strftime("%A %d %B %Y",time() + (3 * 7 * 24 * 3600)); include ("mail.php"); diff --git a/htdocs/public/dons/valid.xhtml b/htdocs/public/dons/valid.xhtml index 6de8a56f11c..2f7e642bb7e 100644 --- a/htdocs/public/dons/valid.xhtml +++ b/htdocs/public/dons/valid.xhtml @@ -29,7 +29,7 @@