Issue #1854274 by jibran: Fixed DateTimePlus uses SELF instead of self; breaks on Windows.
parent
59d0c1f660
commit
aa676a59dc
|
@ -710,7 +710,7 @@ class DateTimePlus extends \DateTime {
|
||||||
|
|
||||||
// If we're working with a non-gregorian calendar, indicate that.
|
// If we're working with a non-gregorian calendar, indicate that.
|
||||||
$calendar_type = \IntlDateFormatter::GREGORIAN;
|
$calendar_type = \IntlDateFormatter::GREGORIAN;
|
||||||
if ($calendar != SELF::CALENDAR) {
|
if ($calendar != self::CALENDAR) {
|
||||||
$calendar_type = \IntlDateFormatter::TRADITIONAL;
|
$calendar_type = \IntlDateFormatter::TRADITIONAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue