Skip to content

Commit fa30af4

Browse files
committed
[projects] Fix rendering of startedAt attribute
1 parent ca51c38 commit fa30af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dashboard/src/projects/Projects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default function () {
146146
{prebuildStatusIcon(lastPrebuilds.get(p.id))}
147147
<div className="font-semibold text-gray-500 dark:text-gray-400 truncate w-24" title={lastPrebuilds.get(p.id)?.info?.branch}>{lastPrebuilds.get(p.id)?.info?.branch}</div>
148148
<span className="mx-1 text-gray-400 dark:text-gray-600">·</span>
149-
<div className="text-gray-400 dark:text-gray-500 flex-grow hover:text-gray-800 dark:hover:text-gray-300">{moment(lastPrebuilds.get(p.id)?.info?.startedAt, "YYYYMMDD").fromNow()}</div>
149+
<div className="text-gray-400 dark:text-gray-500 flex-grow hover:text-gray-800 dark:hover:text-gray-300">{moment(lastPrebuilds.get(p.id)?.info?.startedAt).fromNow()}</div>
150150
</Link>
151151
<Link to={`/${teamOrUserSlug}/${p.name}/prebuilds`} className="my-auto group">
152152
<div className="flex my-auto text-gray-400 flex-grow text-right group-hover:text-gray-600 dark:hover:text-gray-300">View All &rarr;</div>

0 commit comments

Comments
 (0)