diff options
Diffstat (limited to 'Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java b/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java index ff35ad43..0b0bc4d8 100644 --- a/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java +++ b/Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java @@ -454,8 +454,8 @@ public class EditLectureSearch_GUI extends JFrame { zweitesLeerzeichen); String enddate = date .substring(zweitesLeerzeichen); - SimpleDateFormat out=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); - SimpleDateFormat in=new SimpleDateFormat("dd.MM.yyyy hh:mm:ss"); + SimpleDateFormat out=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + SimpleDateFormat in=new SimpleDateFormat("dd.MM.yyyy HH:mm:ss"); try { enddate=out.format(in.parse(enddate)); startdate=out.format(in.parse(startdate)); @@ -465,10 +465,10 @@ public class EditLectureSearch_GUI extends JFrame { } DateFormat df = new SimpleDateFormat( - "yyyy-MM-dd hh:mm:ss"); + "yyyy-MM-dd HH:mm:ss"); try { - // Format has to be "yyyy-MM-dd hh:mm:ss" + // Format has to be "yyyy-MM-dd HH:mm:ss" Lecture.lecture.setEnddate(df .parse(enddate)); Lecture.lecture.setStartdate(df @@ -539,8 +539,8 @@ public class EditLectureSearch_GUI extends JFrame { zweitesLeerzeichen); String enddate = date .substring(zweitesLeerzeichen); - SimpleDateFormat out=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); - SimpleDateFormat in=new SimpleDateFormat("dd.MM.yyyy hh:mm:ss"); + SimpleDateFormat out=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + SimpleDateFormat in=new SimpleDateFormat("dd.MM.yyyy HH:mm:ss"); try { enddate=out.format(in.parse(enddate)); startdate=out.format(in.parse(startdate)); @@ -549,10 +549,10 @@ public class EditLectureSearch_GUI extends JFrame { e2.printStackTrace(); } DateFormat df = new SimpleDateFormat( - "yyyy-MM-dd hh:mm:ss"); + "yyyy-MM-dd HH:mm:ss"); try { - // Format has to be "yyyy-MM-dd hh:mm:ss" + // Format has to be "yyyy-MM-dd HH:mm:ss" Lecture.lecture.setEnddate(df .parse(enddate)); Lecture.lecture.setStartdate(df |
