From: Glenn H. <thr...@us...> - 2004-12-08 16:14:47
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17573/core Modified Files: graph_api.php Log Message: fix for 0004941: Cumulative by date graph doesn't show x-label using short date format in config_inc Index: graph_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/graph_api.php,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- graph_api.php 23 Sep 2004 18:19:36 -0000 1.21 +++ graph_api.php 8 Dec 2004 16:14:35 -0000 1.22 @@ -874,7 +874,7 @@ } function graph_date_format ($p_date) { - return strftime( "%D", $p_date ); + return date( config_get( 'short_date_format' ), $p_date ); } # -------------------- |