Make regdate display more convenient

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
User avatar
igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Make regdate display more convenient

Post by igorw » Tue Jul 13, 2010 3:31 pm

Registration dates are currently dependent on user settings. In most cases this will be insane. For example:
Joined: Mon Jul 12, 2010 12:17:59 pm
The only relevant information here is the date, I don't care about the weekday or the second anybody registered. For those who care, you can always have the exact time as a title attribute so it displays on hover. It would make sense to change this to a language-pack based standard format.

Another nice thing I noticed at GitHub (forgive me) is the inclusion of an approximate relative time on the profile page (eg. viewprofile). Example: http://github.com/igorw
Member Since
May 24, 2009 (about 1 year)
Might be worth looking into too.

User avatar
A_Jelly_Doughnut
Registered User
Posts: 1780
Joined: Wed Jun 04, 2003 4:23 pm

Re: Make regdate display more convenient

Post by A_Jelly_Doughnut » Tue Jul 13, 2010 8:24 pm

It would make sense to change this to a language-pack based standard format.
This is how it used to be, people complained, and it was changed to how it is now (using user::format_date() with the user's standard date format)
A_Jelly_Doughnut

User avatar
igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: Make regdate display more convenient

Post by igorw » Tue Jul 13, 2010 8:56 pm

I am not looking for a justification. I am looking for an opinion on how it should be.

User avatar
A_Jelly_Doughnut
Registered User
Posts: 1780
Joined: Wed Jun 04, 2003 4:23 pm

Re: Make regdate display more convenient

Post by A_Jelly_Doughnut » Tue Jul 13, 2010 9:19 pm

And I was only saying that the quoted suggestion was not how it should be :)
A_Jelly_Doughnut

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: Make regdate display more convenient

Post by nickvergessen » Wed Jul 14, 2010 7:13 am

On phpbb.de we have a snippet, cutting of the time from the stamp and it was quite often asked for.
I'd like if it would be changed, but I don't know how at the moment.
Member of the Development-TeamNo Support via PM

idiotnesia
Registered User
Posts: 29
Joined: Thu May 22, 2008 2:46 am

Re: Make regdate display more convenient

Post by idiotnesia » Wed Jul 14, 2010 8:44 am

I think it's better using short date format which can be configured in acp. It also need some investigation which places will use this short date format instead of the standar format.
idiotnesia wuz here

User avatar
ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

Re: Make regdate display more convenient

Post by ToonArmy » Wed Jul 14, 2010 9:01 am

Date only on viewtopic/pms/etc. and full date time on profile.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
Image

User avatar
DavidIQ Online
Customisations Team Leader
Customisations Team Leader
Posts: 1803
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Make regdate display more convenient

Post by DavidIQ » Wed Jul 14, 2010 11:24 am

ToonArmy wrote:Date only on viewtopic/pms/etc. and full date time on profile.
That is exactly what I had in mind when I saw this. :)
Image

User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

Re: Make regdate display more convenient

Post by bantu » Wed Jul 14, 2010 12:13 pm

ToonArmy wrote:Date only on viewtopic/pms/etc. and full date time on profile.
Makes sense to me. The date format has to be language dependent though.

User avatar
DavidIQ Online
Customisations Team Leader
Customisations Team Leader
Posts: 1803
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Make regdate display more convenient

Post by DavidIQ » Wed Jul 14, 2010 1:11 pm

Would it be feasible to split out the datetime format option in the UCP into separate date and time fields? Although that might make the UCP more complex...
Image

Post Reply