Fixes bug where 12-hour format was used for hours

This commit is contained in:
snipe
2016-09-26 22:34:09 -07:00
parent 3208522dd1
commit 819ca2921b
3 changed files with 18 additions and 18 deletions
@@ -345,7 +345,7 @@ class ComponentsController extends Controller
$component->assets()->attach($component->id, array(
'component_id' => $component->id,
'user_id' => $admin_user->id,
'created_at' => date('Y-m-d h:i:s'),
'created_at' => date('Y-m-d H:i:s'),
'assigned_qty' => e(Input::get('assigned_qty')),
'asset_id' => $asset_id));