date formatting products

This commit is contained in:
David Bomba 2015-12-28 20:14:21 +11:00
parent 9943c824dd
commit 4bcf8c1922

View File

@ -15,7 +15,7 @@ class ProductTransformer extends EntityTransformer
'qty' => $product->qty, 'qty' => $product->qty,
'account_key' =>$this->account->account_key, 'account_key' =>$this->account->account_key,
'default_tax_rate_id' =>$product->default_tax_rate_id, 'default_tax_rate_id' =>$product->default_tax_rate_id,
'updated_at' =>$product->updated_at, 'updated_at' =>$this->getTimestamp($product->updated_at),
]; ];
} }
} }