Commit aa676a59 authored by webchick's avatar webchick

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

parent 59d0c1f6
......@@ -710,7 +710,7 @@ public function format($format, $settings = array()) {
// 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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment