diff options
| author | Michael Wilson | 2014-10-30 17:51:11 +0100 |
|---|---|---|
| committer | Michael Wilson | 2014-10-30 17:51:11 +0100 |
| commit | 5e266f7ace9dc5e7ea1f8eaf96b4f717285ade8b (patch) | |
| tree | d199e4cb53805c89236248f95b68d5d873487a7f /dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java | |
| parent | Fixed bug: returned wrong content for lectures (diff) | |
| download | tutor-module-5e266f7ace9dc5e7ea1f8eaf96b4f717285ade8b.tar.gz tutor-module-5e266f7ace9dc5e7ea1f8eaf96b4f717285ade8b.tar.xz tutor-module-5e266f7ace9dc5e7ea1f8eaf96b4f717285ade8b.zip | |
Fixed all date formats to 24h format in complete program
Diffstat (limited to 'dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java')
| -rw-r--r-- | dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java b/dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java index ba45cb92..f2377585 100644 --- a/dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java +++ b/dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java @@ -744,8 +744,8 @@ public class CreateLectureLink_GUI extends JFrame { .getUserID()); Iterator<server.generated.Image> i = images.iterator(); - SimpleDateFormat in = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); - SimpleDateFormat out = new SimpleDateFormat("dd.MM.yyyy hh:mm:ss"); + SimpleDateFormat in = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + SimpleDateFormat out = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss"); int x = 0; while (i.hasNext()) { @@ -790,8 +790,8 @@ public class CreateLectureLink_GUI extends JFrame { public void writeImageData(String id, String version) throws TException, ParseException { - SimpleDateFormat in = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); - SimpleDateFormat out = new SimpleDateFormat("dd.MM.yyyy hh:mm:ss"); + SimpleDateFormat in = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + SimpleDateFormat out = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss"); Map<String, String> res = client.getImageData(id, version); labelName.setText(res.get("name")); labelOS.setText(res.get("os")); |
