From 79d67afb0fd63bb2ada5c8f57190007a3f1da296 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews@googlemail.com" Date: Fri, 4 Apr 2014 23:38:36 +0000 Subject: [PATCH] - bugfix default date format leads to extra spaces when displaying dates with single digit days (Issue 182) --- change_log.txt | 3 +++ libs/Smarty.class.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index 27fcc358..cf8094c9 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== trunk ===== + 05.04.2014 + - bugfix default date format leads to extra spaces when displaying dates with single digit days (Issue 182) + 26.03.2014 - bugfix Smart_Resource_Custom should not lowercase the resource name (Issue 183) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index a3edac7d..5ec25a30 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -70,7 +70,7 @@ if (!defined('SMARTY_RESOURCE_DATE_FORMAT')) { /** * @deprecated in favor of Smarty::$_DATE_FORMAT */ - define('SMARTY_RESOURCE_DATE_FORMAT', '%b %e, %Y'); + define('SMARTY_RESOURCE_DATE_FORMAT', '%b %-e, %Y'); } /**