You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Caius Gran (JIRA)" <de...@myfaces.apache.org> on 2009/04/14 11:27:15 UTC

[jira] Created: (TRINIDAD-1451) tr:convertDateTime pattern: "week of year" prints dummy text

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.