Upgrade from 6.0-p20170531 to 6.0-p20171202
Hello,
default formatting in our app is Swedish. Therefor, we have custom formatting of for example datetime.
We have always realized this like this:
This has caused the date and datetimes to be formatted correctly, and also edited correctly. See attached "before" screenshot
After upgrading to the 6.0p build of 20171202, this is broken. See attached "after" screenshot.
Do you know what has hanged between these two 6.0 releases that could cause this? We only changed the jar files.
EDIT: I have found the root cause. It is the mask.
We call
On the formItem. This seems to have changed between these two versions.
Is there something i can change regarding the masking to make it work again?
Hope you can get back to me asap.
Hello,
default formatting in our app is Swedish. Therefor, we have custom formatting of for example datetime.
We have always realized this like this:
Code:
DateUtil.setShortDatetimeDisplayFormatter(DateUtil.TOJAPANSHORTDATETIME); DateUtil.setNormalDatetimeDisplayFormatter(DateUtil.TOJAPANSHORTDATETIME); DateUtil.setNormalDateDisplayFormatter(DateUtil.TOJAPANSHORTDATE); DateUtil.setShortDateDisplayFormatter(DateUtil.TOJAPANSHORTDATE); DateUtil.setDefaultDateSeparator("-");
After upgrading to the 6.0p build of 20171202, this is broken. See attached "after" screenshot.
Do you know what has hanged between these two 6.0 releases that could cause this? We only changed the jar files.
EDIT: I have found the root cause. It is the mask.
We call
Code:
dateTimeItem.setUseMask(true);
Is there something i can change regarding the masking to make it work again?
Hope you can get back to me asap.
Comment