Localization support for range dates (MONTH+1)

This commit is contained in:
Benjamin Beganović 2021-06-25 08:21:04 +02:00
parent 55838ede51
commit a60807b274

View File

@ -474,7 +474,7 @@ trait MakesInvoiceValues
} }
if ($matches->keys()->first() == ':MONTH') { if ($matches->keys()->first() == ':MONTH') {
$output = \Carbon\Carbon::create()->month($output)->localeMonth; $output = \Carbon\Carbon::create()->month($output)->translatedFormat('F');
} }
$value = preg_replace( $value = preg_replace(