Resolve "Add date_update to battery fields" #1417

Merged
jankstudio merged 3 commits from 522-add-date_update-to-battery-fields into master 2020-10-20 00:05:44 +00:00
Showing only changes of commit 7ca467ce4c - Show all commits

View file

@ -37,6 +37,7 @@ class BatteryController extends APIController
'id' => $batt->getID(),
'size' => $batt->getSize()->getID(),
'brand' => $batt->getBrand()->getID(),
'date_update' => $batt->getDateUpdate()->format('YmdHis'),
];
}