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

Werner Punz commented on TOMAHAWK-1595:
---------------------------------------

This is the behavior of the internally used date object, on some browsers years 
below 1900 return negative numbers, I will do some extensive testing and fix 
this.

                
> Negative year values in calendar popup
> --------------------------------------
>
>                 Key: TOMAHAWK-1595
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1595
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>    Affects Versions: 1.1.10
>         Environment: OS: windows 7
> Browser: safari, chrome, firefox
>            Reporter: Karolis Sukys
>            Priority: Minor
>
> use calendar tag: <t:inputCalendar></inputCalendar>
> 1. click calendar icon and select year 1800 or older (i.e. 1799, 1798), 
> random month and random day
> 3. date is displayed in calendar component field (MM/dd/yyyy).
> 4. click again calendar icon
> years are displayed with negative values. year 1800 is represented by -100, 
> 1799 by -101 and so on.
> alternative way to reproduce is just to manually enter some date and click 
> calendar icon (i.e. 02/25/1800, 05/15/1789)
> N.B. issue is not reproducible on Internet Explorer

--
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

Reply via email to