From ed3e43d30524a76969fb7d42cb5e613c2e1a1d9a Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 6 Jan 2006 05:16:25 +0000 Subject: Changing property scopes in TGlobalization --- framework/I18N/TDateFormat.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/I18N/TDateFormat.php') diff --git a/framework/I18N/TDateFormat.php b/framework/I18N/TDateFormat.php index 1226fd6f..985f5115 100644 --- a/framework/I18N/TDateFormat.php +++ b/framework/I18N/TDateFormat.php @@ -174,12 +174,12 @@ class TDateFormat extends TI18NControl //initialized the default class wide formatter if(is_null(self::$formatter)) - self::$formatter = new DateFormat($app->Culture); + self::$formatter = new DateFormat($app->getCulture()); $culture = $this->getCulture(); //return the specific cultural formatted date time - if(strlen($culture) && $app->Culture !== $culture) + if(strlen($culture) && $app->getCulture() !== $culture) { $formatter = new DateFormat($culture); return $formatter->format($this->getValue(), -- cgit v1.2.3