Merge pull request #247 from R0m1k3/1.1

Correct date handling for task due dates to prevent errors
This commit is contained in:
LogiFlow authored and GitHub committed 2025-08-19 08:42:46 +02:00
commit f7a6e30f6b
2 files changed
+1 -1

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

+1 -1
View File
@@ -248,7 +248,7 @@ export const tasks = pgTable("tasks", {
id: serial("id").primaryKey(),
title: varchar("title").notNull(), // Titre de la tâche (requis)
description: text("description"), // Description de la tâche (optionnel)
dueDate: timestamp("due_date"), // Date d'échéance (optionnel)
dueDate: date("due_date"), // Date d'échéance (optionnel)
priority: varchar("priority").notNull().default("medium"), // low, medium, high
status: varchar("status").notNull().default("pending"), // pending, completed
assignedTo: text("assigned_to").notNull(), // Utilisateur responsable (champ libre)