문제

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?

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top