Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: wrong time format in object history #2442

Open
1 task done
5G7K opened this issue Apr 27, 2024 · 1 comment
Open
1 task done

[bug]: wrong time format in object history #2442

5G7K opened this issue Apr 27, 2024 · 1 comment

Comments

@5G7K
Copy link

5G7K commented Apr 27, 2024

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

System OS is in English. Chrome/Firefox, too. Language setting in both browser is German to display pages in German. In object history the time is displayed in AM/PM instead of German time format. Language setting in Admin is German. Time format in Flot is correct.

To Reproduce

Go to object with history (SQL).

Expected behavior

Time format is displayed with 24h format.

Screenshots & Logfiles

image

Adapter version

6.17.6

js-controller version

5.0.19

Node version

18.20.2

Operating system

linux

Additional context

No response

@5G7K 5G7K added the bug label Apr 27, 2024
@5G7K 5G7K changed the title [bug]: wron time format in object history [bug]: wrong time format in object history Apr 27, 2024
@GermanBluefox
Copy link
Contributor

It is used on this place toLocaleTimeString
What will happen in your browser?
image
if you enter `new Date().toLocaleTimeString()´ in the browser console?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants