File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " rustytime" ,
33 "private" : false ,
4- "version" : " 0.2.2 " ,
4+ "version" : " 0.2.3 " ,
55 "license" : " AGPL-3.0" ,
66 "type" : " module" ,
77 "repository" : {
Original file line number Diff line number Diff line change 1414 type EnhancedProject = Project & {
1515 createdAtFormatted: string ;
1616 lastUpdated: string | null ;
17+ lastUpdatedExact: string | null ;
1718 repoLabel: string | null ;
1819 };
1920
6364 createdAtFormatted:
6465 isCreatedAtValid && createdDate ? creationDateFormatter .format (createdDate ) : ' Unknown' ,
6566 lastUpdated: isUpdatedAtValid && updatedDate ? formatRelativeTime (updatedDate ) : null ,
67+ lastUpdatedExact:
68+ isUpdatedAtValid && updatedDate ? creationDateFormatter .format (updatedDate ) : null ,
6669 repoLabel: project .repo_url ? formatRepoLabel (project .repo_url ) : null
6770 } satisfies EnhancedProject ;
6871 });
146149 >{project .createdAtFormatted }</span
147150 >
148151 {#if project .lastUpdated }
149- <span class ="text-xs text-ctp-overlay1" >Last updated {project .lastUpdated }</span >
152+ <span
153+ class =" text-xs text-ctp-overlay1"
154+ title ={project .lastUpdatedExact ?? undefined }
155+ >
156+ Last updated {project .lastUpdated }
157+ </span >
150158 {/if }
151159 </div >
152160 </div >
You can’t perform that action at this time.
0 commit comments