Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.
  • Page:
  • 1

TOPIC:

lists enhancement 3 months 1 week ago #1

  • Daelbrecht
  • Daelbrecht's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
Hello.
Lists will denser with less need for scrolling if a short date format was used instead of the full date format pe. 25 december 2020 to replaced with 25-12-2020 (or equivalent).
Can this be provided as an option somewhere?
sincerely
[attachment=6175]A5F8B726-B9EF-44D3-9A36-72C8EF383565.jpeg
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Daelbrecht.

lists enhancement 3 months 1 week ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14491
> Can this be provided as an option somewhere?

The date format is part of the translation system, so you can change it using a simple module.
(An example of changing translation text is included in modules_v4/example.disable)

Translation is from English to other languages.

So, you would add a translation from "%j %F %Y" to your prefered format.

%F is a long month (e.g. "January").
%M is a short month (e.g. "Jan").
%m is a numeric month (e.g. "01")
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

lists enhancement 3 months 1 week ago #3

  • Daelbrecht
  • Daelbrecht's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
Hello Fisharebest
Thank you for your answer.
It surely is a simple solution if you are familiar with Php programming. This is not so in my case. I am unable to do this. But many thanks anyway.
Sincerely
Daniel

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum