diff options
author | wei <> | 2006-01-06 05:16:25 +0000 |
---|---|---|
committer | wei <> | 2006-01-06 05:16:25 +0000 |
commit | ed3e43d30524a76969fb7d42cb5e613c2e1a1d9a (patch) | |
tree | 7f0cd531766635363527715fd4614eb56df0a80c /framework/I18N/TDateFormat.php | |
parent | 4835704a04cf5aa5ec71a8aef902d54b9c6cae82 (diff) |
Changing property scopes in TGlobalization
Diffstat (limited to 'framework/I18N/TDateFormat.php')
-rw-r--r-- | framework/I18N/TDateFormat.php | 4 |
1 files changed, 2 insertions, 2 deletions
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(),
|