Skip to content
Snippets Groups Projects
Commit dd2c74a1 authored by Fabio Polanco's avatar Fabio Polanco
Browse files

That was already fixed :flushed:

parent 6eb9e002
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
tempDate.setHours( taskData.time.match( /(\d{2}):\d{2}/ )[1] );
tempDate.setMinutes( taskData.time.match( /\d{2}:(\d{2})/ )[1] );
if (tempDate.getTime() / 1000 < Date.now()) {
if (tempDate.getTime() < Date.now()) {
dateError = "date_past";
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment