You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/05/02 22:53:03 UTC

[jira] [Resolved] (TOMAHAWK-1480) Calendar shows wrong year in Opera

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved TOMAHAWK-1480.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.11-SNAPSHOT
         Assignee: Leonardo Uribe

I tested it with opera 10.10 and it is present. In opera 11 the problem is not present anymore. 

The solution is use getFullYear() instead and comment the code that adds 1900 to the year. This function is supported by all major browsers and by IE since 5.5 (ECMAScript 3). Anyway thanks for the patch.

> Calendar shows wrong year in Opera
> ----------------------------------
>
>                 Key: TOMAHAWK-1480
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1480
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>         Environment: Opera 10.10
>            Reporter: Guilherme Garnier
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 1.1.11-SNAPSHOT
>
>         Attachments: popcalendar.js.diff
>
>
> When using Opera, the calendar opens in the wrong year (current year + 1900), although it´s correctly displayed in the calendar footer.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira