XPages iNotes Calendar -


how control display of time , dates on inotes calendar control in xpage? have times shown using 12 hour format hh:mm , date use mmm dd, yyyy.

thank you.

the date , time format inotes calendar defined in language files common languages. these language files specific inotes calendar.

they stored in com.ibm.xsp.extlib.domino_x.x.x.xxxxxxxx-xxxx.jar file in folder dominoserverpath\data\domino\workspace\applications\eclipse\plugins.

if unpack jar file (it's zip file) you'll find folder resources\web\dwa\date\nls , there language specific subfolders de, en, en-gb, en-ie , en-us. date , time format definied in subfolders in file calendar.js.

this file starts e.g. en-us lines:

enter image description here

surprisingly, date , time format not right en-us. same en, en-gb , en-ie. i'd call bug or @ least wrong packaging.

if change time format line d_dtfmt_time0: "hh:mmt" 12 hour time format am/pm.

close setting d_dtfmt_time0 other settings date , time formatting.

so, change en languages files appropriate values, save them jar file , restart domino server.

just further research: date , time values formatted of ...jar\resources\web\dwa\date\dateformatter.js.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -