[RFC] Local time handling by Javascript

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
xerces8
Registered User
Posts: 12
Joined: Sat Nov 27, 2010 1:12 pm

Re: [RFC] Local time handling by Javascript

Post by xerces8 »

The Javaranch forum started ti use something like this.
It is great.
I don't even have to log in and I have all times in my zone (and format).

User avatar
Arty
Former Team Member
Posts: 985
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars
Contact:

Re: [RFC] Local time handling by Javascript

Post by Arty »

I think this would be great addition to 3.1 (3.1 is already using HTML5, so why wait for 3.2 for this?), but instead of <span> use <time> tag like this:

Code: Select all

<time data-time="1234567">01 Oct 2011</time>
where 1234567 is a raw number that could be converted to correct format with javascript.

It would also solve issue #2 in this post

xerces8
Registered User
Posts: 12
Joined: Sat Nov 27, 2010 1:12 pm

Re: [RFC] Local time handling by Javascript

Post by xerces8 »

and..... it is still not used.

I went to the phpbb 3.3.0 demo site and the date is in foreign format and timezone. (same for time)

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: [RFC] Local time handling by Javascript

Post by 3Di »

Some steps have been done here, just the JS side is missing.

https://tracker.phpbb.com/browse/PHPBB3-16159
https://github.com/phpbb/phpbb/pull/5692/files
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

Post Reply