+1
-1
| { | ||
| "name": "rustytime", | ||
| "private": false, | ||
| "version": "0.2.2", | ||
| "version": "0.2.3", | ||
| "license": "AGPL-3.0", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -17,2 +17,3 @@ <script lang="ts"> | ||
| lastUpdated: string | null; | ||
| lastUpdatedExact: string | null; | ||
| repoLabel: string | null; | ||
@@ -67,2 +68,4 @@ }; | ||
| lastUpdated: isUpdatedAtValid && updatedDate ? formatRelativeTime(updatedDate) : null, | ||
| lastUpdatedExact: | ||
| isUpdatedAtValid && updatedDate ? creationDateFormatter.format(updatedDate) : null, | ||
| repoLabel: project.repo_url ? formatRepoLabel(project.repo_url) : null | ||
@@ -151,3 +154,8 @@ } satisfies EnhancedProject; | ||
| {#if project.lastUpdated} | ||
| <span class="text-xs text-ctp-overlay1">Last updated {project.lastUpdated}</span> | ||
| <span | ||
| class="text-xs text-ctp-overlay1" | ||
| title={project.lastUpdatedExact ?? undefined} | ||
| > | ||
| Last updated {project.lastUpdated} | ||
| </span> | ||
| {/if} | ||
@@ -154,0 +162,0 @@ </div> |
133726
0.19%