diff --git a/src/lib/ProjectsManager.ts b/src/lib/ProjectsManager.ts index bca3e7c9..338056aa 100644 --- a/src/lib/ProjectsManager.ts +++ b/src/lib/ProjectsManager.ts @@ -15,7 +15,6 @@ export interface Project { id: string; name: string; path: string; - createdAt: Date; lastModified: Date; } @@ -54,7 +53,6 @@ export class ProjectsManager { id, name: this.formatProjectName(id), // Use formatted directory name path: projectPath, - createdAt: timestamp, lastModified: timestamp, }; } @@ -86,7 +84,6 @@ export class ProjectsManager { id: dir, // basename of the path name: this.formatProjectName(dir), // Convert directory name to readable format path: projectPath, - createdAt: modifiedDate, // Use modified time as creation time lastModified: modifiedDate, }; @@ -114,7 +111,6 @@ export class ProjectsManager { id, // basename of the path name: this.formatProjectName(id), // Convert directory name to readable format path: projectPath, - createdAt: modifiedDate, // Use modified time as creation time lastModified: modifiedDate, }; } diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index a6a652f8..f8cbc6e6 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -268,14 +268,10 @@ export default function Index() { {project.name} - Created {project.createdAt.toLocaleDateString()} + Modified {project.lastModified.toLocaleDateString()} - - - Last modified {project.lastModified.toLocaleDateString()} - - + ))} @@ -460,14 +456,10 @@ export default function Index() { {project.name} - Created {project.createdAt.toLocaleDateString()} + Modified {project.lastModified.toLocaleDateString()} - - - Last modified {project.lastModified.toLocaleDateString()} - - + ))}
- Last modified {project.lastModified.toLocaleDateString()} -