summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltofrontend.go
diff options
context:
space:
mode:
authorLibravatar Markus Unterwaditzer <markus-github@unterwaditzer.net>2024-10-12 10:02:26 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-12 10:02:26 +0200
commit95a316236e3651c27d995fcdc8093ae0d1f96125 (patch)
tree13669ae1942d5ce0309a14933104a793cfcd4071 /internal/typeutils/internaltofrontend.go
parent[chore] Don't cc Accept of likes to followers (#3417) (diff)
downloadgotosocial-95a316236e3651c27d995fcdc8093ae0d1f96125.tar.xz
[bugfix] Account.last_status_at is a date, not datetime (#3419)
* [bugfix] Account.last_status_at is a date, not datetime Fix #3418 * update swagger
Diffstat (limited to 'internal/typeutils/internaltofrontend.go')
-rw-r--r--internal/typeutils/internaltofrontend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go
index 6bd6d0900..3b94687dc 100644
--- a/internal/typeutils/internaltofrontend.go
+++ b/internal/typeutils/internaltofrontend.go
@@ -259,7 +259,7 @@ func (c *Converter) accountToAPIAccountPublic(ctx context.Context, a *gtsmodel.A
if a.Stats.LastStatusAt.IsZero() {
return nil
}
- return util.Ptr(util.FormatISO8601(a.Stats.LastStatusAt))
+ return util.Ptr(util.FormatISO8601Date(a.Stats.LastStatusAt))
}()
)