GeezerVison is showing github.com — Query History date/time only in US format · Issue #5495 · pgadmin-org/pgadmin4
Query History date/time only in US format #5495Description
Windows Server 2019, pgAdmin 6.15, desktop mode.
Connect to a database. Open Query Tool. Go to Query History. Date and time of historic queries shown only in US format, regardless of local machine's regional settings. Activityakshay-joshi commented on Nov 18, 2022 @simon-kempster
I have tested it with the latest code and it is working fine.
Testing scenario:
- Start the pgAdmin in UTC + 5:30 (India).
- Run a few queries.
- Change the system's timezone to UTC + 1 (Berlin)
- Check the query history.

- Change the system's timezone to UTC + 11 (Sydney)
- Start the pgAdmin and check the query history

Can you please provide steps to reproduce this? akshay-joshi commented on Nov 23, 2022 Hi @simon-kempster
Yes, I am able to reproduce the issue on Windows in Desktop mode and Server mode. toLocaleDateString() is not returning the date based on the system's locale in Chrome and Microsoft Edge, while it is returning the date in the correct format in Firefox. Please refer to the screenshot below:

We will try to fix this in Desktop mode, but in the Server mode user will have to add the locale/language in Chrome (chrome://settings/languages) and Edge(edge://settings/languages) and then select the "Display Google Chrome/Edge in this language" to resolve the issue. FaharAbbasRizvi commented on Nov 28, 2022
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|