mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #6128 from beganovich/v5-3900
(v5) Localization support for range dates (MONTH+1)
This commit is contained in:
commit
d7525f93cb
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user