Issue #1854274 by jibran: Fixed DateTimePlus uses SELF instead of self; breaks on Windows.

8.0.x
webchick 2012-11-29 11:19:04 -08:00
parent 59d0c1f660
commit aa676a59dc
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ class DateTimePlus extends \DateTime {
// If we're working with a non-gregorian calendar, indicate that.
$calendar_type = \IntlDateFormatter::GREGORIAN;
if ($calendar != SELF::CALENDAR) {
if ($calendar != self::CALENDAR) {
$calendar_type = \IntlDateFormatter::TRADITIONAL;
}