Configuring the Thai calendar

Improve functionality for users who rely on the Thai solar calendar by configuring the Date time control to display dates in this format.

  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Technical category and click HTML Fragment.
  3. Open the pyMetaTags HTML fragment.
  4. In the HTML Source section, anywhere in the HTML editor, add the following script:
    <script>
    if(typeof pegaUtils==="undefined"){
    pegaUtils = {};
    }
    pegaUtils.useBuddhistThaiSolarCalendar = true;
    </script>
  5. Click Save.
  6. In the navigation pane of Dev Studio, click Configure > User Interface > Application readiness > Localization > Locale Settings.
  7. In the Use Locale drop-down list, select Thai (Thailand, TH).
  8. In the Use Time Zone drop-down list, select Asia/Bangkok.
  9. Click Update.