Fixed date format in getStringValue()
This commit is contained in:
parent
4f7de157b1
commit
44dedeb839
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue