By Andy on Sunday, 08 May 2016
Posted in Technical Issues
Replies 7
Likes 0
Views 692
Votes 0
I was hoping to control the date format of the dates shown on EasyBlog posts.. I just wanted to remove the default leading zeros.... so to have 7 May instead of 07 May.

I found the place in the back-end (screenshot attached) and it has a great link to the PHP Date resource which tells me I just need to put a 'j' instead of the 'd'..... but.... the config option only seems to allow 3 variants from a drop-down.... is this intended? Wouldn't this be better as free text entry.. especially as you tease us with the link to the PHP Date resource to show us what's possible!
You can using Joomla language override feature to override this language date format to remove 0.


DATE_FORMAT_LC1="l, d F Y"

// Override to
DATE_FORMAT_LC1="l, j F Y"


Hope this help.
·
Monday, 09 May 2016 23:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andy,

I am really sorry for the delay of this reply as it is a weekend for us here. Are you referring to the date being displayed in the theme or from the custom fields? In your screen shot above, that particular settings is actually controlling the date behavior of the custom field.
·
Sunday, 08 May 2016 12:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark... I was actually trying to find a setting to customise the date format that shows at the top of blog posts... regardless though after finding that backend setting I was just letting you guys know re: it being a bit odd to give admins the link to PHP Date options, but then not actually allow customisation in that field which just gives a dropdown of a few options.
·
Sunday, 08 May 2016 22:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you include a screen shot and a link to the page of the date that you want to alter?
·
Monday, 09 May 2016 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Here's a pic... it's just the standard created / modified / published date at the top of a blog entry.... so it's no big deal but I just wanted to tweak using those PHP date format options to remove the leading zero on, for example 08 May.
·
Monday, 09 May 2016 02:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect. Thanks!
·
Monday, 09 May 2016 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Andy
·
Monday, 09 May 2016 23:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post