mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for date time format
This commit is contained in:
parent
0a5d0ea44c
commit
042b4d8297
@ -55,7 +55,7 @@ class DateFormatsSeeder extends Seeder
|
|||||||
];
|
];
|
||||||
|
|
||||||
foreach ($formats as $format) {
|
foreach ($formats as $format) {
|
||||||
$record = DatetimeFormat::whereFormat($format['format'])->first();
|
$record = DatetimeFormat::whereRaw("BINARY `format`= ?", array($format['format']))->first();
|
||||||
if ($record) {
|
if ($record) {
|
||||||
$record->format_moment = $format['format_moment'];
|
$record->format_moment = $format['format_moment'];
|
||||||
$record->save();
|
$record->save();
|
||||||
|
Loading…
Reference in New Issue
Block a user