myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caius Gran (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-1451) tr:convertDateTime pattern: "week of year" prints dummy text
Date Tue, 14 Apr 2009 09:27:15 GMT
tr:convertDateTime pattern: "week of year" prints dummy text
------------------------------------------------------------

                 Key: TRINIDAD-1451
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1451
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.10-core
            Reporter: Caius Gran
            Priority: Minor


Following seems to print "(Week of year)" instead the expected calculated week number:

<tr:convertDateTime pattern="w" />


By checking the source, DateFormat.js seems to contain this snippet:

      case 'w': // week in year
        appendString = "(Week in year)";
        break;

I also found this, which could do the trick (didn't verify): http://javascript.about.com/library/blweekyear.htm


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message