Oh -- and probably best to set __DATEPICKER_FORMAT only if it's unset.  I.e, do not define it here, but use a fallback of something reasonable if it is not defined.