Change the time setting for the date display
Posted
#2855
(In Topic #517)

Standard member

Posted

Standard member

The translating you can do manually:
Go to, the following in your admin area:
Home→ Admin Zone→ Style→ Choose→ Translate/re-phrase Composr
Make sure you have German in the language dropdown slected, if it's an option.
Then in language file, scroll too "dates", click on it, then click on the proceed button.
On that page you can manually translate then save.
Hope that helps.
I will get back to you regards the 24hr time.
Posted

Standard member

Go to, the following in your admin area:
Home→ Admin Zone→ Style→ Choose→ Translate/re-phrase Composr
Make sure you have German in the language dropdown slected, if it's an option.
Then in language file, scroll too "global", click on it, then click on the proceed button.
From here do a page search for:
Code
%l:%M %p
And for each each instance change it to:
Code
%H:%M
Using the : is the correct seperator for 24 hour. However you can replace : with . if you wish.
The format uses strings from PHP: strftime - Manual
Once you have replaced them, click save.
Posted

Standard member

Now I just want to change the date output from Posted 25th September in Posted September 25, 2017, so I just want to spend one point and not th. How do I do this and where?
Posted

Site director

I almost covered this in my most recent reply to you on Date format - Composr
(under the 'American' column of the dates table)
The only difference is you want to remove %o.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.