Hi there,
Right now I`m building an application for my client from Thailand.I seem to have a problem with Alpha.Since my client is from thailand i need to change the time region in my application especially using date picker in thailand time region.Is there any way i can handle this?I`ve been trying jquery but it seems only to change to thai/? character.When i picked the date it still show 2015 instead of 2558.I hope someone can help me with this.Below the jquery i used in the javascript control to customize the date picker
/* Thai initialisation for the jQuery UI date picker plugin. */
jQuery(function($){
$.datepicker.regional.th = {
closeText: "???",
prevText: "« ????",
nextText: "????? »",
currentText: "??????",
monthNames: [ "??????","??????????","??????","??????","???????","????????",
"???????","???????","???????","??????","?????????","???????" ],
monthNamesShort: [ "?.?.","?.?.","??.?.","??.?.","?.?.","??.?.",
"?.?.","?.?.","?.?.","?.?.","?.?.","?.?." ],
dayNames: [ "???????","??????","??????","???","????????","?????","?????" ],
dayNamesShort: [ "??.","?.","?.","?.","??.","?.","?." ],
dayNamesMin: [ "??.","?.","?.","?.","??.","?.","?." ],
weekHeader: "Wk",
dateFormat: "dd/mm/yy",
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
$.datepicker.setDefaults($.datepicker.regional['th']);
}); jQuery('#{dialog.ControlIdEscaped}').datepicker(
{
onSelect: function(dateText, inst) {
$e.execute(this,'change')
}
}
);
I also attached the pic related to the matter I mentioned before1.png2.png
I really hope I can solve this ASAP...will try to fix it while waiting for someone to help me..Thanks Alpha members! :)
Right now I`m building an application for my client from Thailand.I seem to have a problem with Alpha.Since my client is from thailand i need to change the time region in my application especially using date picker in thailand time region.Is there any way i can handle this?I`ve been trying jquery but it seems only to change to thai/? character.When i picked the date it still show 2015 instead of 2558.I hope someone can help me with this.Below the jquery i used in the javascript control to customize the date picker
/* Thai initialisation for the jQuery UI date picker plugin. */
jQuery(function($){
$.datepicker.regional.th = {
closeText: "???",
prevText: "« ????",
nextText: "????? »",
currentText: "??????",
monthNames: [ "??????","??????????","??????","??????","???????","????????",
"???????","???????","???????","??????","?????????","???????" ],
monthNamesShort: [ "?.?.","?.?.","??.?.","??.?.","?.?.","??.?.",
"?.?.","?.?.","?.?.","?.?.","?.?.","?.?." ],
dayNames: [ "???????","??????","??????","???","????????","?????","?????" ],
dayNamesShort: [ "??.","?.","?.","?.","??.","?.","?." ],
dayNamesMin: [ "??.","?.","?.","?.","??.","?.","?." ],
weekHeader: "Wk",
dateFormat: "dd/mm/yy",
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
$.datepicker.setDefaults($.datepicker.regional['th']);
}); jQuery('#{dialog.ControlIdEscaped}').datepicker(
{
onSelect: function(dateText, inst) {
$e.execute(this,'change')
}
}
);
I also attached the pic related to the matter I mentioned before1.png2.png
I really hope I can solve this ASAP...will try to fix it while waiting for someone to help me..Thanks Alpha members! :)
Comment