Unverified 提交 03b24288 authored 作者: Hoang Long's avatar Hoang Long 提交者: GitHub

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: 's avatarhlong24082k <hlong24082k@gmail.com>
上级 4cef36a8
...@@ -299,13 +299,13 @@ export default function AppDetailsPage() { ...@@ -299,13 +299,13 @@ export default function AppDetailsPage() {
<span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs"> <span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs">
Created Created
</span> </span>
<span>{new Date().toLocaleString()}</span> <span>{selectedApp.createdAt.toString()}</span>
</div> </div>
<div> <div>
<span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs"> <span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs">
Last Updated Last Updated
</span> </span>
<span>{new Date().toLocaleString()}</span> <span>{selectedApp.updatedAt.toString()}</span>
</div> </div>
<div className="col-span-2"> <div className="col-span-2">
<span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs"> <span className="block text-gray-500 dark:text-gray-400 mb-0.5 text-xs">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论