diff options
| author | Fuwn <[email protected]> | 2025-02-19 21:53:23 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-19 21:53:23 -0800 |
| commit | 686c677d0ab3c528695c9415157dfac294ae37fe (patch) | |
| tree | d2817ff89951603503af10d3bb06be8d43cdb0d2 | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-686c677d0ab3c528695c9415157dfac294ae37fe.tar.xz sora-testing-686c677d0ab3c528695c9415157dfac294ae37fe.zip | |
feat: Development commit
| -rw-r--r-- | Sora/Views/Post/PostDetailsView.swift | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Sora/Views/Post/PostDetailsView.swift b/Sora/Views/Post/PostDetailsView.swift index 8f8f1de..fe3b558 100644 --- a/Sora/Views/Post/PostDetailsView.swift +++ b/Sora/Views/Post/PostDetailsView.swift @@ -44,8 +44,12 @@ struct PostDetailsView: View { .frame(maxWidth: .infinity, alignment: .leading) HStack { - Text(post.createdAt.formatted()) - .frame(maxWidth: .infinity, alignment: .leading) + Text( + Date( + timeIntervalSince1970: TimeInterval(post.createdAt) + ).formatted() + ) + .frame(maxWidth: .infinity, alignment: .leading) Group { switch loadingStage { |