From 5e266f7ace9dc5e7ea1f8eaf96b4f717285ade8b Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Thu, 30 Oct 2014 17:51:11 +0100 Subject: Fixed all date formats to 24h format in complete program --- .../src/main/java/gui/lecture/CreateLectureLink_GUI.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java') 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 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 res = client.getImageData(id, version); labelName.setText(res.get("name")); labelOS.setText(res.get("os")); -- cgit v1.2.3-55-g7522