Tuesday, June 14, 2005
Bodington Date Formatting
In quite a few places in Bodington dates are formatted and displayed to the user. All these dates are formatted according to the default locale of the java platform which is normally picked up from the system settings.
On Linux/UNIX the way to change the date formatting (and the system locale) is to set the LANG environmental variable before starting the servlet container. To have dates formatted for the UK use something like:
export LANG=en_GB.UTF-8
I'm not so sure about Windows but I'm guessing that is you change your settings in the control panel Java should pick them up.