Jump to content

[Feature request] Add a "date" timezone sensitive BBcode


LaCollision

Recommended Posts

Posted

Hi there,

Dealing with dates on a forum is not easy, especially when you have members all across the globe.

Often, when you post a date in a forum post, you have to explicitly precise the timezone, and the reader has to calculate the result for his own timezone.

That's really not friendly, and even a shame, knowing that the member timezone is already stored in his settings!

So, it would be gorgeous to have a "date" BBCode that automatically calculates a date according to the member's declared timezone.

For instance :

[date]2014-06-24T16:13:21+02:00[/date]

… would give the date in the reader's timezone.

Bad idea?

Thanks for reading!

:)

Posted

Converting dates isn't that easy for most people. With daylight saving time and such.
So I like your idea even when most of our visitors are in the same timezone.

Posted

Converting dates to the users timezone, including DST, isn't difficult and not the limitation here.

The problem here, the full HTML of recent posts is cached for performance. Once the cache is written, the date would be set to the date the user who triggered the cache would get...

While a nice idea, dynamic content doesn't play well when you introduce caching.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...