summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java/sql/SQL.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 /dozentenmodulserver/src/main/java/sql/SQL.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 'dozentenmodulserver/src/main/java/sql/SQL.java')
-rw-r--r--dozentenmodulserver/src/main/java/sql/SQL.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/dozentenmodulserver/src/main/java/sql/SQL.java b/dozentenmodulserver/src/main/java/sql/SQL.java
index 4f6321eb..e79cf159 100644
--- a/dozentenmodulserver/src/main/java/sql/SQL.java
+++ b/dozentenmodulserver/src/main/java/sql/SQL.java
@@ -181,7 +181,7 @@ public class SQL {
public String setPerson(String login, String lastname, String firstname,
String mail, Date lastlogin, String Institution) {
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
+ DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try {
Connection con = getConnection();
Statement stm = con.createStatement();
@@ -242,7 +242,7 @@ public class SQL {
String desc, String imagePath, long filesize, String shareMode,
String pk_os) {
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
+ DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
int internet_bol = 0;
int license_bol = 0;
@@ -672,7 +672,7 @@ public class SQL {
int imageversion, String name, String desc, String shortdesc,
String start, String end, boolean isactive) {
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
+ DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
int active_bol = 0;
if (isactive == true) {
@@ -790,7 +790,7 @@ public class SQL {
long filesize, String shareMode, String ospk) {
try {
Connection con = getConnection();
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
+ DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Statement stm = con.createStatement();
int newVersion = Integer.parseInt(version) + 1;
@@ -903,7 +903,7 @@ public class SQL {
String name, String newName, String desc, String shortdesc,
String start, String end, boolean isactive, String id) {
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
+ DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
int active_bol = 0;
if (isactive == true) {