Change date format to display full hours when returning a date property as string.

This commit is contained in:
hns 2002-10-30 18:06:32 +00:00
parent 8f684b6ec9
commit 3c51a22b21
2 changed files with 2 additions and 67 deletions

View file

@ -132,7 +132,7 @@ public final class Property implements IProperty, Serializable {
case BOOLEAN:
return "" + bvalue;
case DATE:
SimpleDateFormat format = new SimpleDateFormat ("dd.MM.yy hh:mm");
SimpleDateFormat format = new SimpleDateFormat ("dd.MM.yy HH:mm");
return format.format (new Date (lvalue));
case INTEGER:
return Long.toString (lvalue);

View file

@ -287,7 +287,7 @@ public final class Property implements IProperty, Serializable, Cloneable {
case BOOLEAN:
return bvalue ? "true" : "false";
case DATE:
SimpleDateFormat format = new SimpleDateFormat ("dd.MM.yy hh:mm");
SimpleDateFormat format = new SimpleDateFormat ("dd.MM.yy HH:mm");
return format.format (new Date (lvalue));
case INTEGER:
return Long.toString (lvalue);
@ -354,68 +354,3 @@ public final class Property implements IProperty, Serializable, Cloneable {