I just noticed in a Freemarker template file something like:

${someTimestamp.toString()}

There is a problem with that. Freemarker will call the Timestamp object's toString() method - which will output the date and time in the server's time zone and locale, NOT the user's.

It is better to eliminate the toString method call, like so:

${someTimestamp}

-Adrian

Reply via email to