summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java
diff options
context:
space:
mode:
authorMichael Wilson2014-10-30 17:51:11 +0100
committerMichael Wilson2014-10-30 17:51:11 +0100
commit5e266f7ace9dc5e7ea1f8eaf96b4f717285ade8b (patch)
treed199e4cb53805c89236248f95b68d5d873487a7f /dozentenmodul/src/main/java/gui/lecture/CreateLectureLink_GUI.java
parentFixed bug: returned wrong content for lectures (diff)
downloadtutor-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.java8
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"));