summaryrefslogtreecommitdiff
path: root/framework/I18N/core/DateFormat.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/core/DateFormat.php')
-rw-r--r--framework/I18N/core/DateFormat.php2
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} == "'"