Skip to content
Snippets Groups Projects
Commit 53a551ac authored by Thomas Mewily's avatar Thomas Mewily
Browse files

date check

parent 676d0faf
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -162,7 +162,7 @@ public class StartServer {
int idGommette = Integer.parseInt(req.queryParams("idGommette"));
int idEleve = Integer.parseInt(req.queryParams("idEleve"));
Core.GommetteAttrib.create(idEleve,connected.getId(),idGommette, "00/00/2000", raison);
Core.GommetteAttrib.create(idEleve,connected.getId(),idGommette, new java.sql.Date(System.currentTimeMillis()), raison);
res.redirect("/eleves");
return null;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment