1
0
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:
Hillel Coren 2016-08-14 08:55:41 +03:00
parent 0a5d0ea44c
commit 042b4d8297

View File

@ -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();