Change bellow code to support translation month name

$start_gregorian = $start_date->format($format);

new code
$gregorian_date = $this->hijriFormatManager->dateFormatter->format($date->getTimestamp(), 'custom', 'd F Y');

--------------------------------------------------------------------

Change date format to use 'd-F-Y' to show full month name

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ahmad smhan created an issue. See original summary.

ahmad-alyasaki’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.