Skip to content
Snippets Groups Projects
Commit aa676a59 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 59d0c1f6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment