jeudi 12 mars 2015

Google Apps Script toLocaleDateString not work


Vote count:

0




I trying to run in GAS script



function test(){
var options = { year: 'numeric', month: 'long', day: 'numeric' },
locale="ru-RU",
data= (new Date()).toLocaleDateString(locale, options);

Browser.msgBox(data);
}


But google always return same format no matter what i type in locale.


How to fix this?



asked 1 min ago







Google Apps Script toLocaleDateString not work

Aucun commentaire:

Enregistrer un commentaire