Hello, How do I change the date format so that it is 17.6?
Thank you
Change date format / user view from forum
The original poster, Juraj_Štefánik, asked how to change the date format to display as “17.6” instead of “June 17”. After some troubleshooting and suggestions from merefield to check the source code, Don provided the solution. To change the date format, go to /admin/customize/site_texts/ and modify the following:
js.dates.tiny.date_month from “MMM D” to “D.M”js.dates.medium.date_year from “MMM D, 'YY” to “D.M 'YY”This will change the date format to “17.6” and “17.6 '20” respectively. Juraj_Štefánik confirmed that this solution worked for their case.
Is there no option? ![]()
Have you looked through the source code?
The problem is that I can only work directly on the page where I can only use html css and javascript
This is rendered with JavaScript.
Here’s the associated template, perhaps this will help unstick you:
Hello,
If you want to change date format then you can change it on /admin/customize/site_texts/
js.dates.tiny.date_month
default: MMM D change it to D.M
it will change the June 17 to 17.6
js.dates.medium.date_year
default MMM D, 'YY change it to D.M 'YY
it will change the year version June 17, '20 to 17.6 '20
Or something like this ![]()
Notice: Be careful with this because these will replace the date format wherever it is used not just on user card.
Other date format strings find here:
/admin/customize/site_texts?q=js.dates
/admin/customize/site_texts?q=datetime_formats
YES! Thank you
This is solution for my case ![]()