Updated as showing the types date

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@95413 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-07 13:54:24 +00:00 committed by Giancarlo Panichi
parent a5fe2c2610
commit dd3639c36c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class ColumnConfigGenerator {
com.google.gwt.cell.client.Cell.Context context, com.google.gwt.cell.client.Cell.Context context,
Date value, SafeHtmlBuilder sb) { Date value, SafeHtmlBuilder sb) {
// yyyy/MM/dd HH:mm:ss // yyyy/MM/dd HH:mm:ss
DateTimeFormat sdf= DateTimeFormat.getFormat("yyyy/MM/dd"); DateTimeFormat sdf= DateTimeFormat.getFormat("yyyy-MM-dd");
String v = String.valueOf(sdf.format(value)); String v = String.valueOf(sdf.format(value));
sb.appendHtmlConstant(v); sb.appendHtmlConstant(v);