mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-17 16:42:48 +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) {
|
||||
$record = DatetimeFormat::whereFormat($format['format'])->first();
|
||||
$record = DatetimeFormat::whereRaw("BINARY `format`= ?", array($format['format']))->first();
|
||||
if ($record) {
|
||||
$record->format_moment = $format['format_moment'];
|
||||
$record->save();
|
||||
|
Loading…
Reference in New Issue
Block a user