Issue #2641522 by Mac_Weber: Replace deprecated usage of entity_create('date_format') with a direct call to DateFormat::create()