1 Reply Latest reply on Jan 11, 2008 11:10 AM by nat_tul

    rich:calendar render invalid era for thai locale.

      After several try with rich:calendar ("th", "th_TH" locale)
      The rendered output always be in gregorian year.
      However, in Thai locale, the default era is buddhist.
      So, the expected outcome must be buddhist year.

      e.g. 1/1/2551 in buddhist calendar is equals to 1/1/2008 in gregorian calendar.

      Did it have to set any other property other than locale?

      Note: Buddhist year = Gregorian year + 543.

      Thanks in advance.

        • 1. Re: rich:calendar render invalid era for thai locale.

          Hmmm not even single response?

          Anyway, after i digged into richfaces source code.
          If i'm correct, this component use javax.faces.converter.DateTimeConverter to do localization work.

          If this is the case, maybe i should consider raise this issue at Sun instead.

          Tell me if i'm wrong.

          Thanks