diff --git a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ConfigurationProcessor.java b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ConfigurationProcessor.java
index 3b38c5845..c20baa622 100644
--- a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ConfigurationProcessor.java
+++ b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ConfigurationProcessor.java
@@ -89,8 +89,8 @@ public JSONArray getConfigurationInfo(int ownerId) {
configurationInfos.put(configurationInfo);
configurationInfo.put(program.getName());
configurationInfo.put(program.getOwner().getAccount());
- configurationInfo.put(program.getCreated().toString());
- configurationInfo.put(program.getLastChanged().toString());
+ configurationInfo.put(program.getCreated().getTime());
+ configurationInfo.put(program.getLastChanged().getTime());
}
setSuccess(Key.CONFIGURATION_GET_ALL_SUCCESS, "" + configurationInfos.length());
return configurationInfos;
diff --git a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ProgramProcessor.java b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ProgramProcessor.java
index d7451b120..43672be6b 100644
--- a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ProgramProcessor.java
+++ b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/persistence/ProgramProcessor.java
@@ -91,9 +91,9 @@ public JSONArray getProgramInfo(int ownerId, int robotId) {
}
programInfo.put(sharedWithUser);
- programInfo.put(program.getCreated().toString());
- programInfo.put(program.getLastChanged().toString());
- programInfo.put(program.getLastChanged().toString());
+ programInfo.put(program.getCreated().getTime());
+ programInfo.put(program.getLastChanged().getTime());
+ programInfo.put(program.getLastChanged().getTime());
programInfos.put(programInfo);
}
// Now we find all the programs which are not owned by the user but have been shared to him
@@ -104,9 +104,9 @@ public JSONArray getProgramInfo(int ownerId, int robotId) {
programInfo2.put(accessRight.getProgram().getOwner().getAccount());
// programInfo2.put(userProgram.getProgram().getNumberOfBlocks());
programInfo2.put(accessRight.getRelation().toString());
- programInfo2.put(accessRight.getProgram().getCreated().toString());
- programInfo2.put(accessRight.getProgram().getLastChanged().toString());
- programInfo2.put(accessRight.getProgram().getLastChanged().toString());
+ programInfo2.put(accessRight.getProgram().getCreated().getTime());
+ programInfo2.put(accessRight.getProgram().getLastChanged().getTime());
+ programInfo2.put(accessRight.getProgram().getLastChanged().getTime());
programInfos.put(programInfo2);
}
diff --git a/OpenRobertaServer/staticResources/index.html b/OpenRobertaServer/staticResources/index.html
index d4fab87ff..c8a3bc38f 100644
--- a/OpenRobertaServer/staticResources/index.html
+++ b/OpenRobertaServer/staticResources/index.html
@@ -34,13 +34,14 @@
-
-
+
+
+