Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SWT DateTime format change

I'm using a DateTime SWT component, and it has an American format when displayed (mm/dd/yyyy).

Is there any way to change the format to dd/mm/yyyy ?

like image 712
adi.neag Avatar asked Oct 18 '22 18:10

adi.neag


1 Answers

DateTime uses the OS specific user preferences to format the date. (On Windows these are the Regional and Language Options in the system settings).

A possible workaround is described here (scroll down to the latest two entries). But I haven't tried this myself.

like image 121
wero Avatar answered Oct 21 '22 16:10

wero