phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[RFC] Local time handling by Javascript

Publish your own request for comments or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.1/Ascraeus and 3.2/Arsia.

Re: [RFC] Local time handling by Javascript

Postby xerces8 » Fri Sep 30, 2011 8:20 pm

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).
xerces8
Registered User
 
Posts: 11
Joined: Sat Nov 27, 2010 1:12 pm

Re: [RFC] Local time handling by Javascript

Postby Arty » Fri Sep 30, 2011 9:45 pm

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
Formerly known as CyberAlien.
User avatar
Arty
Styles Team
Styles Team
 
Posts: 796
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars

Previous

Return to [3.x] RFCs

Who is online

Users browsing this forum: naim and 19 guests