src/main/java/org/efaps/ui/wicket/models/field/factories/DateUIFactory.java
@Override
    protected String getReadOnlyValue(final AbstractUIField _abstractUIField)
        throws EFapsException
    {
        String strValue = "";
        final Object valueTmp = _abstractUIField.getValue()
                        .getReadOnlyValue(_abstractUIField.getParent().getMode());
        if (valueTmp instanceof DateTime) {
            final DateTime datetime = (DateTime) valueTmp;
            final DateTime dateTmp = datetime.withChronology(Context.getThreadContext().getChronology())
                            .withTimeAtStartOfDay();
            strValue = dateTmp.toString(DateUtil.getDateFormatter());
        }
        return strValue;
    }
@Override
    protected String getReadOnlyValue(final AbstractUIField _abstractUIField)
        throws EFapsException
    {
        String strValue = "";
        final Object valueTmp = _abstractUIField.getValue()
                        .getReadOnlyValue(_abstractUIField.getParent().getMode());
        if (valueTmp instanceof DateTime) {
            final DateTime datetime = (DateTime) valueTmp;
            final DateTime dateTmp = datetime.withChronology(Context.getThreadContext().getChronology())
                            .withTimeAtStartOfDay();
            strValue = dateTmp.toString(DateUtil.getDateFormatter());
        }
        return strValue;
    }
{@inheritDoc}