fix: change time now to correct created and updated time (#1703)

<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Fix incorrect "Created" and "Last Updated" timestamps in App Details.
The page now uses selectedApp.createdAt and selectedApp.updatedAt
instead of the current time.

<sup>Written for commit 4b2459b23b4c3e6592c45076276d50070d8df749.
Summary will update automatically on new commits.</sup>

<!-- End of auto-generated description by cubic. -->

Co-authored-by: hlong24082k <[email protected]>
This commit is contained in:
Hoang Longandhlong24082k authored and GitHub committed 2025-11-06 16:44:25 -08:00
1 parent 4cef36a8ca
commit 03b242884a
1 file changed
+2 -2
+2 -2
View File
@@ -299,13 +299,13 @@ export default function AppDetailsPage() {
<span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs">
Created
</span>
<span>{new Date().toLocaleString()}</span>
<span>{selectedApp.createdAt.toString()}</span>
</div>
<div>
<span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs">
Last Updated
</span>
<span>{new Date().toLocaleString()}</span>
<span>{selectedApp.updatedAt.toString()}</span>
</div>
<div className="col-span-2">
<span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs">