GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #5495

New issue
Copy link
New issue
Copy link
Closed
Closed
Query History date/time only in US format#5495
Copy link
Assignees
FaharAbbasRizvi
Labels
Bug
Milestone
6.17

Description

@simon-kempster
simon-kempster
opened on Nov 3, 2022
Issue body actions

Capture

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.

Activity

Next
  1. akshay-joshi
    added this to Not Refinedon Nov 4, 2022
  2. yogeshmahajan-1903
    assigned
    FaharAbbasRizvi
    on Nov 4, 2022
  3. yogeshmahajan-1903
    added
    EDB Sprint 129
    on Nov 4, 2022
  4. yogeshmahajan-1903
    added this to Current Sprint (213) and removed this from Not Refinedon Nov 4, 2022
  5. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on Nov 8, 2022
  6. akshay-joshi
    added
    Bug
    on Nov 9, 2022
  7. akshay-joshi
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Nov 15, 2022
  8. akshay-joshi
    assigned
    akshay-joshi
    and
    simon-kempster
    and unassigned
    FaharAbbasRizvi
    and
    akshay-joshi
    on Nov 15, 2022
  9. akshay-joshi
    added this to Not Refined and removed this from Current Sprint (213)on Nov 18, 2022
  10. akshay-joshi commented on Nov 18, 2022

    @akshay-joshi
    akshay-joshi
    on Nov 18, 2022
    Contributor
    More actions

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

    Berlin

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

    Sydney

    Can you please provide steps to reproduce this?

  11. 14 remaining items

  12. akshay-joshi
    assigned
    akshay-joshi
    and unassigned
    simon-kempster
    on Nov 23, 2022
  13. akshay-joshi commented on Nov 23, 2022

    @akshay-joshi
    akshay-joshi
    on Nov 23, 2022
    Contributor
    More actions

    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:

    Windows

    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.

  14. akshay-joshi
    added 3 commits that reference this issue on Nov 23, 2022

    Ensure that the query history date format in Desktop mode matches the…

    065543e

    Ensure that the query history date format in Desktop mode matches the…

    2e67f4c

    Ensure that the query history date format in Desktop mode matches the…

    9d3654b
  15. akshay-joshi
    moved this from 🏗 In Progress to In Testing in Current Sprint (213)on Nov 24, 2022
  16. akshay-joshi
    added this to the 6.17 milestone on Nov 24, 2022
  17. akshay-joshi
    assigned
    FaharAbbasRizvi
    and unassigned
    akshay-joshi
    on Nov 24, 2022
  18. FaharAbbasRizvi commented on Nov 28, 2022

    @FaharAbbasRizvi
    FaharAbbasRizvi
    on Nov 28, 2022
    Contributor
    More actions

    Tested in Desktop and Server mode on the latest snapshot build:
    https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2022-11-2

  19. FaharAbbasRizvi
    closed this as completedon Nov 28, 2022
  20. FaharAbbasRizvi
    moved this from In Testing to ✅ Done in Current Sprint (213)on Nov 28, 2022
  21. akshay-joshi
    added a commit that references this issue on Dec 1, 2022

    Ensure that the query history date format in Desktop mode matches the…

    ade22a1
  22. akshay-joshi
    removed this from Current Sprint (213)on Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @FaharAbbasRizvi
    FaharAbbasRizvi

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 6.17

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.