[Solved] Change Reg date from month and year to day, month and year.

by Nasyr - 14-04-2015, 02:52 AM
Freak
Divine
Posts:
3,333
Joined:
Jan 2015
Likes:
239
Credits:
4,538
Reputation:
119
2 Years of Service
#1
OP
Posted: 14-04-2015, 02:52 AM (This post was last modified: 14-04-2015, 03:34 AM by Nasyr.)
So standard MyBB has it displayed on the postbit like;
Join Date: Month Year

I'd like to know how you convert it to be like this;
Join Date: Day Month Year
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,324
Reputation:
30
2 Years of Service
#2
Posted: 14-04-2015, 03:15 AM (This post was last modified: 14-04-2015, 03:15 AM by AndresXZ09.)
I haven't tested but try this, go to inc/settings.php

Find $settings['regdateformat'] = "M Y";
Replace with $settings['regdateformat'] = "D M Y";
or $settings['regdateformat'] = "d M Y";
Freak
Divine
Posts:
3,333
Joined:
Jan 2015
Likes:
239
Credits:
4,538
Reputation:
119
2 Years of Service
#3
OP
Posted: 14-04-2015, 03:34 AM
(14-04-2015, 03:15 AM)AndresXZ09 Wrote: I haven't tested but try this, go to inc/settings.php

Find $settings['regdateformat'] = "M Y";
Replace with $settings['regdateformat'] = "D M Y";
or $settings['regdateformat'] = "d M Y";

It worked thanks for that Smile Editing a theme for a friend Tongue 
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)