diff options
author | knut <> | 2006-02-22 21:46:16 +0000 |
---|---|---|
committer | knut <> | 2006-02-22 21:46:16 +0000 |
commit | a30da2e71ad2ed23cbcb6011ab848ab888b2dd46 (patch) | |
tree | 1225b90b956f6489f504450bdd72ac63866224a5 /framework/I18N/core/DateFormat.php | |
parent | 45ddffcfc4ff5b732f9f39719430b461345c8f7a (diff) |
Did some minor optimization tweaks
Diffstat (limited to 'framework/I18N/core/DateFormat.php')
-rw-r--r-- | framework/I18N/core/DateFormat.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/core/DateFormat.php b/framework/I18N/core/DateFormat.php index 1e340d95..a07d5e6d 100644 --- a/framework/I18N/core/DateFormat.php +++ b/framework/I18N/core/DateFormat.php @@ -122,7 +122,7 @@ class DateFormat $tokens = $this->getTokens($pattern);
- for($i = 0; $i<count($tokens); $i++)
+ for($i = 0, $k = count($tokens); $i<$k; ++$i)
{
$pattern = $tokens[$i];
if($pattern{0} == "'"
|