]> _ Git - bloomsburie.git/commitdiff
wait #7329 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 17 Feb 2025 09:46:42 +0000 (10:46 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 17 Feb 2025 09:46:42 +0000 (10:46 +0100)
framework/application/views/helpers/FooterActualites.php
framework/application/views/helpers/News.php

index 98f5bc1948fbee9461b992d0af324563a07bcafb..51821f08b4846c55dbb833ef189d6386cdf80701 100644 (file)
@@ -18,7 +18,7 @@ class Cubedesigners_View_Helper_FooterActualites extends CubeIT_View_Helper_Abst
             $r = CubeIT_Util_Cms::unserialize($r);
 
             $res .= '<article class="actu">';
-            $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);
index dffe9f0b7877cab9b8c1df748fb66e8175248494..e08fee9a4e44b2d064f91b5cae89a1811b9c5f8a 100644 (file)
@@ -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' => '<time class="date" datetime="'. $date .'">'. $date .'</time>',