You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Karolis Sukys (JIRA)" <de...@myfaces.apache.org> on 2011/06/08 16:04:59 UTC

[jira] [Created] (TOMAHAWK-1595) Negative year values in calendar popup

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.
For more information on JIRA, see: http://www.atlassian.com/software/jira