Change javascript output locale -


im in trouble javascript. im not language, thought, maby can me it. script changes value of input id end_date. when chages prints in eng locale, need change lt. this: setlocale(lc_all, '$appui->user_lang.utf-8'); pls.

f.task_end_date.value = e.getutcfullyear()+tz2+(e.getmonth()+1)+tz1+e.getdate(); var url = '?m=public&a=date_format&dialog=1&field='+f.name+'.end_date&date=' + f.task_end_date.value; 

you can use moment.js parse/format date format need: http://momentjs.com/


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -