struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mark xiao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4076) struts2 core 2.1.8.1 framework defined tag:datepick issue
Date Thu, 23 May 2013 22:09:20 GMT

    [ https://issues.apache.org/jira/browse/WW-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665748#comment-13665748
] 

mark xiao commented on WW-4076:
-------------------------------

thanks for Mr. Lenart's kindness.
could you please do me a favor to remove issue Struts2 / WW-4075?
it's due to web connection problem.
                
> struts2 core 2.1.8.1 framework defined tag:datepick issue
> ---------------------------------------------------------
>
>                 Key: WW-4076
>                 URL: https://issues.apache.org/jira/browse/WW-4076
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.1.8.1
>         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.
> ---snippet---
> jquery.struts2.js
> line1209
> $elem.val($.datepicker.formatDate(params.dateFormat, new Date(o.year, o.month, o.day)));
> ---
> could anyone tell me the formal solution?
> Thanks.

--
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: http://www.atlassian.com/software/jira

Mime
View raw message