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 ]; }