diff --git a/agrolib/pragaProject/pragaShell.cpp b/agrolib/pragaProject/pragaShell.cpp index a4fe4ad6..628c778d 100644 --- a/agrolib/pragaProject/pragaShell.cpp +++ b/agrolib/pragaProject/pragaShell.cpp @@ -556,7 +556,7 @@ int cmdExportDailyGridToRaster(PragaProject* myProject, QList argumentL else if (argumentList.at(i).left(4) == "-d2:") { dateFinStr = argumentList[i].right(argumentList[i].length()-4); - dateFin = QDate::fromString(dateIniStr, "dd/MM/yyyy"); + dateFin = QDate::fromString(dateFinStr, "dd/MM/yyyy"); } else if (argumentList.at(i).left(4) == "-dp:") {