date field doesn't respect format string
twinforces opened this issue · comments
twinforces commented
jquery version always writes it at d/m/y.
twinforces commented
This turns out to be an issue with tapestry-jQuery datefield because it initializes it for local en-GB, i.e. english-Great Britain. It's hard to track down, because the plain jQuery/datefield defaults to US format.
Work around is to add this:
format="MM/dd/yyyy" t:mixins="jquery/CustomDatepicker" t:params="literal: { dateFormat: 'mm/dd/yy' }"