From d4a36650d68235dfaa884ae0fe727f269ab7c3c5 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 17 Feb 2025 10:46:42 +0100 Subject: [PATCH] wait #7329 @0.25 --- framework/application/views/helpers/FooterActualites.php | 2 +- framework/application/views/helpers/News.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/application/views/helpers/FooterActualites.php b/framework/application/views/helpers/FooterActualites.php index 98f5bc1..51821f0 100644 --- a/framework/application/views/helpers/FooterActualites.php +++ b/framework/application/views/helpers/FooterActualites.php @@ -18,7 +18,7 @@ class Cubedesigners_View_Helper_FooterActualites extends CubeIT_View_Helper_Abst $r = CubeIT_Util_Cms::unserialize($r); $res .= '
'; - $c = $this->view->dateTime($r->date, "dd-MM-y", array('class' => 'date'),'en-US'); + $c = $this->view->dateTime($r->date, "MM/dd/Y", array('class' => 'date'),'en-US'); $c .= $this->view->markupDotclear($r->content); $r->link->label = $c; // Set content as label so it can be used with linkCMS() $res .= $this->linkCMS($r->link); diff --git a/framework/application/views/helpers/News.php b/framework/application/views/helpers/News.php index dffe9f0..e08fee9 100644 --- a/framework/application/views/helpers/News.php +++ b/framework/application/views/helpers/News.php @@ -24,7 +24,7 @@ class Cubedesigners_View_Helper_News extends CubeIT_View_Helper_Abstract { $r = CubeIT_Util_Cms::unserialize($r); $y = date('Y', strtotime($r->date)); - $date = date('d-m-Y', strtotime($r->date)); + $date = date('m/d/Y', strtotime($r->date)); $news[$y][] = array( 'date' => '', -- 2.39.5