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

    rich:calendar render invalid era for thai locale.

    Nattapong Sirilappanich Newbie

      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.