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.

Reply via email to