Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-368

RssFeedToSyndFeedTest fails in japanese environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3
    • 1.5
    • Testsuite
    • None
    • Japanese locale environment

    • Patch Available

    Description

      org.apache.wink.common.model.rss.RssFeedToSyndFeedTest fails in japanese environment.

      When parsing date in xml and the default Locale is JAPANESE, DateFormat fails to parse "Tue, 10 Jun 2003 09:41:01 GMT".

      java.text.ParseException: Unparseable date: "Tue, 10 Jun 2003 09:41:01 GMT"
      at java.text.DateFormat.parse(DateFormat.java:337)
      at org.apache.wink.common.model.rss.RssChannel.convertRssDateToJavaDate(RssChannel.java:814)
      at org.apache.wink.common.model.rss.RssChannel.toSynd(RssChannel.java:389)
      at org.apache.wink.common.model.rss.RssFeed.toSynd(RssFeed.java:118)

      Attachments

        1. fixlocale.patch
          0.9 kB
          gentaro oka

        Activity

          People

            Unassigned Unassigned
            gentaro gentaro oka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: