mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Fix for date format
This commit is contained in:
parent
2074258d4e
commit
3c731b72ec
@ -27,7 +27,8 @@ class DateFormatsSeeder extends Seeder
|
||||
];
|
||||
|
||||
foreach ($formats as $format) {
|
||||
$record = DateFormat::whereFormat($format['format'])->first();
|
||||
// use binary to support case-sensitive search
|
||||
$record = DateFormat::whereRaw("BINARY `format`= ?", array($format['format']))->first();
|
||||
if ($record) {
|
||||
$record->picker_format = $format['picker_format'];
|
||||
$record->save();
|
||||
|
Loading…
Reference in New Issue
Block a user