From f5e4e468a2e4381b15bf5f447dca124e28d818ad Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 11 Apr 2020 21:12:12 -0600 Subject: [PATCH] Update AccountTransformer --- app/Transformer/Api/AccountTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Transformer/Api/AccountTransformer.php b/app/Transformer/Api/AccountTransformer.php index 2c32e210d..0486495c8 100644 --- a/app/Transformer/Api/AccountTransformer.php +++ b/app/Transformer/Api/AccountTransformer.php @@ -33,7 +33,7 @@ class AccountTransformer extends Fractal\TransformerAbstract 'website' => $profile->website, 'local' => (bool) $local, 'is_admin' => (bool) $is_admin, - 'created_at' => $profile->created_at->timestamp, + 'created_at' => $profile->created_at->toJSON(), 'header_bg' => $profile->header_bg ]; }