SMF Development > Feature Requests
Local time on the forum
Srinib:
Is there a standard option in SMF(or a MOD) to show the local time?
If he login from NY, it should show the EST. And if he login from Italy, he should get the Italy local time on his forum.
mashby:
Already exists in a way. Look and Layout has Time Offset with an auto detect feature allows each user to set their local time. The theme being used has to include showing the local time. The theme here on SMF does just that. Does that help you out?
MrPhil:
SMF has the default (system, or guest) time, and an hours offset for users. For the default timezone, it's best to select the proper PHP 5 timezone in Admin > Features and Options > General, rather than using an hours offset. Don't rely on the timezone autodetect (unless they've fixed it recently). It used an obsolete format (/etc/GMT+4) without DST (summer time). As for individual members, they still seem to have only an hours offset from default time (not a specified timezone with correct DST rules) in Profile > Look and Layout. For SMF 2.1 it would be really nice to let users select their timezone by name (hint, hint).
I am not aware of any way to autodetect the timezone in use at the browser (getenv('SOMETHING') or $_SERVER['SOMETHING']).
Antechinus:
--- Quote from: MrPhil on July 07, 2012, 06:51:48 PM ---For SMF 2.1 it would be really nice to let users select their timezone by name (hint, hint).[/i]
--- End quote ---
Track it.
live627:
--- Quote from: Antechinus on July 07, 2012, 06:57:55 PM ---
--- Quote from: MrPhil on July 07, 2012, 06:51:48 PM ---For SMF 2.1 it would be really nice to let users select their timezone by name (hint, hint).[/i]
--- End quote ---
Track it.
--- End quote ---
Also, some people wouldn't have to update their time offset to contend witht he likes of daylight savings time.
Navigation
[0] Message Index
[#] Next page
Go to full version