struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mark xiao (JIRA)" <>
Subject [jira] [Created] (WW-4076) struts2 core framework defined tag:datepick issue
Date Wed, 22 May 2013 10:22:24 GMT
mark xiao created WW-4076:

             Summary: struts2 core framework defined tag:datepick issue
                 Key: WW-4076
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Tags
    Affects Versions:
         Environment: windows7
SpringSource Tool Suite 2.6.1.RELEASE
dynamic web module 2.4
JRE 1.6.0_34

            Reporter: mark xiao

while using this modulized component to overwrite calendar 
as our local/country calender year to add/minus 1911 between
A.D. and ROC calendar year for browser interpreter(A.D.) 
and browser user(ROC calendar).

the following snippet would set back ROC year 99(A.D:2010)
as ROC year 1999 (add extra 1900).
even tried set dateFormat as yy/mm/dd or yyyy/mm/dd or yyy/mm/dd,
they didn't work.
try to set a judgement if (o.year.length == 2) skip the line below.
$elem.val($.datepicker.formatDate(params.dateFormat, new Date(o.year, o.month,;
could anyone tell me the formal solution?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message