You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to override the default format of the date picker, however when value is submitted it fails to be parsed.
Code that can trigger the issue
Java
@Property
@Persist
private Date date;
public String getFormat() {
return "yy-mm-dd";
}
@Log
public JSONObject getParams() {
return new JSONObject("dateFormat", getFormat());
}
public String getDateFormated() {
SimpleDateFormat format = new SimpleDateFormat(getFormat());
return format.format(date);
}
I have tried to override the default format of the date picker, however when value is submitted it fails to be parsed.
Code that can trigger the issue
Java
TML
The text was updated successfully, but these errors were encountered: