Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

Date Format Changes After Login in Xojo Web App (DateTimePicker Issue)

$
0
0

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:

  1. The server timezone is correctly set to Europe/Vienna using timedatectl.
  2. Running date in the terminal always returns the correct Austrian date and time.
  3. The issue only happens in the app and seems to change after logging in.
  4. I construct dates in Xojo using New DateTime(year, month, day), but sometimes the format is incorrect.
  5. I am using a DateTimePicker, and the displayed format changes unexpectedly.

Questions:

  1. Could the session locale be affecting the date format dynamically?
  2. Is there a way to force Xojo Web to use a specific date format in DateTimePicker, independent of the client settings?
  3. Has anyone encountered a similar issue, and how did you solve it?

Thanks for any advice!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles