diff options
Diffstat (limited to 'framework/I18N/core/DateFormat.php')
-rw-r--r-- | framework/I18N/core/DateFormat.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/core/DateFormat.php b/framework/I18N/core/DateFormat.php index 173c119f..7724a480 100644 --- a/framework/I18N/core/DateFormat.php +++ b/framework/I18N/core/DateFormat.php @@ -471,7 +471,7 @@ class DateFormat throw new Exception('The pattern for AM/PM marker is "a".');
$hour = $date['hours'];
- $ampm = intval($hour/12);
+ $ampm = (int)($hour/12);
return $this->formatInfo->AMPMMarkers[$ampm];
}
@@ -649,4 +649,4 @@ class DateFormat }
-?> +?>
|