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

Is it possible to use a standardized date format for “date/datetime” entries? #9813

Open
Gindi50 opened this issue Feb 3, 2025 · 1 comment
Milestone

Comments

@Gindi50
Copy link

Gindi50 commented Feb 3, 2025

For example, the entry birthday. In the upper user profile it is shown as 13 Apr. 1950, in the edit profile / profile info area it is shown as 1950-04-13, in the backend Kunena/User/User Information it is shown as 04/13/1950 and in the database it is shown as 1950-04-13.

During my search, I came across the entry “datepicker” and the format: yyyy-mm-dd in the file /components/com_kunena/template/aurelia/assets/js/main.js.
As a test, I changed the format yyyy-mm-dd to dd-mm-yyyy, but I couldn't see any changes in the spelling yet.

In doing so, I noticed the entry (“liszt:updated”); in row 28 of this file, which I changed to (“list:update”);.
I hope “liszt” was a typo.

When I change the date to 13-04-1950 in the user information in the backend, 04/13/1950 reappears in the birthday field after I save.

@rich20
Copy link
Member

rich20 commented Feb 3, 2025

In doing so, I noticed the entry (“liszt:updated”); in row 28 of this file, which I changed to (“list:update”);.
I hope “liszt” was a typo.

Typing error at "liszt:updated"

$("#kchecktarget").attr('disabled', false).trigger("liszt:updated");

@rich20 rich20 added this to the 6.3 milestone Feb 3, 2025
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