views:

16

answers:

1

I'm trying out Endeavour Software Project Management.It's running as a servlet in Tomcat (Catalina). The package came with tomcat and jre configure, got it running quite easily. Everything was fine, except that the Datetime format wasn't as per my machine's configuration. I couldn't find a place to configure the Datetime format. Not in the servlet itself, or any of the configuration file I've dug through. Btw, I'm using a Windows 7 x86 machine. Any idea to change the format without touching the source code?

A: 

You can at highest change the platform default locale of the server machine. It's unclear what platform the server is using, but if it's Windows, you can do it in the control panel: http://java.com/en/download/help/locale.xml

But you're still dependent on the webapp software whether it picks/uses the correct locale. Maybe it has the locale hardcoded or it should be externally configureable. Refer the webapp's documentation.

Changing the server's platform default locale will however affect all visitors since the webapp doesn't seem to respect the client's default locale (as per the comments on your question).

BalusC
This seems closer. I'm setting my locale to US English, while I'm using dd/MM/yyyy for my date format settings. Maybe it's taking the default for en-us. I'll try with en-UK and see if it changes. Btw, the java control panel is showing MM/dd/yyyy
faulty
`dd/MM/yyyy` is IIRC typical for Canada and France. Give it a try.
BalusC