pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex XIAO (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIVOT-392) Calendar issue?
Date Fri, 13 Aug 2010 02:55:21 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898054#action_12898054
] 

Alex XIAO commented on PIVOT-392:
---------------------------------

Thank you very much! You solved my problem.

And I think the following codes is  also important:

//look at here, use these codes to set week label values.
2. if (Locale.getDefault().equals(Locale.CHINA)
|| Locale.getDefault().equals(Locale.CHINESE)) {
text = Character.toString(text.charAt(2));
} else {
text = Character.toString(text.charAt(0));
} 

Because Chinese Week Names are like "星期一,星期二",
So we should use text = Character.toString(text.charAt(2)) instead.

Thank you for your hard work.
I love Pivot.

Best Regards,
Alex XIAO


> Calendar issue?
> ---------------
>
>                 Key: PIVOT-392
>                 URL: https://issues.apache.org/jira/browse/PIVOT-392
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>    Affects Versions: 1.4
>         Environment: Firefox 3.6,java 1.6_18,windows xp
>            Reporter: Alex XIAO
>            Assignee: Greg Brown
>         Attachments: screenshot-1.jpg
>
>
> please see attached image file. it's an  i18n issue.

-- 
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