<?php 
 
// locale: Thailand (th_TH) 
// author: Tistee Boonsuwan https://github.com/partynetwork 
 
return array( 
    "months"        => explode('_', '??????_??????????_??????_??????_???????_????????_???????_???????_???????_??????_?????????_???????'), 
    "monthsShort"   => explode('_', '?.?._?.?._??.?._??.?._?.?._??.?._?.?._?.?._?.?._?.?._?.?._?.?.'), 
    "weekdays"      => explode('_', '??????_??????_???_????????_?????_?????_???????'), 
    "weekdaysShort" => explode('_', '?._?._?._??_?._?._??.'), 
    "calendar"      => array( 
        "sameDay"  => '[?????? ????]', 
        "nextDay"  => '[???????? ????]', 
        "lastDay"  => '[???????????]', 
        "lastWeek" => '[??????????????] l', 
        "sameElse" => 'l', 
        "withTime" => '[?????] H:i', 
        "default"  => 'd/m/Y', 
    ), 
    "relativeTime"  => array( 
        "future" => '??? %s', 
        "past"   => '%s ???????', 
        "s"      => '????????????', 
        "ss"      => '%d ??????', 
        "m"      => '1 ????', 
        "mm"     => '%d ????', 
        "h"      => '1 ???????', 
        "hh"     => '%d ???????', 
        "d"      => '1 ???', 
        "dd"     => '%d ???', 
        "M"      => '1 ?????', 
        "MM"     => '%d ?????', 
        "y"      => '1 ??', 
        "yy"     => '%d ??', 
    ), 
    "ordinal"       => function ($number) 
    { 
        return $number ; 
    }, 
    "week"          => array( 
        "dow" => 1, // Monday is the first day of the week. 
        "doy" => 4  // The week that contains Jan 4th is the first week of the year. 
    ), 
);
 
 |