diff options
| author | Michael Wilson | 2014-08-26 10:26:08 +0200 |
|---|---|---|
| committer | Michael Wilson | 2014-08-26 10:26:08 +0200 |
| commit | 3f7da72d00e6027097cec8de2cd1462eecf2cbb5 (patch) | |
| tree | 3aca78877f124d0d469ea477e145332e487420ba /Dozentenmodul/src/gui/lecture/EditLectureSearch_GUI.java | |
| parent | Datum angepasst wenn es zu weit in der Zukunft liegt (diff) | |
| download | tutor-module-3f7da72d00e6027097cec8de2cd1462eecf2cbb5.tar.gz tutor-module-3f7da72d00e6027097cec8de2cd1462eecf2cbb5.tar.xz tutor-module-3f7da72d00e6027097cec8de2cd1462eecf2cbb5.zip | |
-Bearbeiten einer Veranstaltung möglich
-Datumsformate bei Veranstlatung in 24h-Modus geändert
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 |
