Fixed date format in getStringValue()

This commit is contained in:
hns 2005-01-31 15:45:00 +00:00
parent 4f7de157b1
commit 44dedeb839
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ public final class Property implements IProperty, Serializable {
case DATE:
SimpleDateFormat format = new SimpleDateFormat("dd.MM.yy HH:mm");
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return format.format(new Date(lvalue));

View file

@ -347,7 +347,7 @@ public final class Property implements IProperty, Serializable, Cloneable {
case DATE:
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return format.format((Date) value);