open the datebox dropdown
the date of the today link is formatted including the ":" at the end
only display the date
these 2 methods attempt to perform the splitting between date and time format
I don't think all possible date format strings can be split in a reliable way.
It should be possible to define a date and time format separately if the default mechanism fails.
Override the getDateFormat and getTimeFormat JS functions to return the expected value
The attachment datebox-today-label.zul shows 2 alternatives
- splitting by space (where applicable)
- define a custom dateFormat using a widget attribute