Hi everyone,
I’m experiencing an issue with date formatting in my Xojo Web App running on a Debian Linux server. The problem is that the date format sometimes switches between American (MM/DD/YYYY) and Austrian (DD.MM.YYYY) after logging in.
What I’ve Checked:
- The server timezone is correctly set to
Europe/Vienna
usingtimedatectl
. - Running
date
in the terminal always returns the correct Austrian date and time. - The issue only happens in the app and seems to change after logging in.
- I construct dates in Xojo using
New DateTime(year, month, day)
, but sometimes the format is incorrect. - I am using a
DateTimePicker
, and the displayed format changes unexpectedly.
Questions:
- Could the session locale be affecting the date format dynamically?
- Is there a way to force Xojo Web to use a specific date format in
DateTimePicker
, independent of the client settings? - Has anyone encountered a similar issue, and how did you solve it?
Thanks for any advice!