HI,
> What is the scenario where everybody will need this code?
If they want to use a date formatter and not have dates displayed as
“YYYY-MM-DD”.
Before these changes dates would be formatted as US style dates by default and
if you added a different date format bead it would still incorrectly display in
US date format. Middle endian / US style dates should not be the default as
they are only used by about 5-10% of the world’s population. If you prefer I
can change the default to "DD/MM/YYYY” rather than YYYY-MM-DD format (ISO
8601).
Basically code like this would still display US style dates.
<js:DateField>
<js:beads>
<accessories:DateFormatDDMMYYYYBead />
</js:beads>
</js:DateField>
Reason being that it was just finding the first IFormatBead which was defined
in the CSS, any other IFormatBead bead the user added would be ignored.
Thanks,
Justin