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 <hlong24082k@gmail.com>
This commit is contained in:
Hoang Long
2025-11-07 07:44:25 +07:00
committed by GitHub
parent 4cef36a8ca
commit 03b242884a

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">