Config Timezone

by Unknown

Back to Ideas.

Unknown2007-09-09 06:30:50
Would it be at all possible to have a configuration option to set the character's GMT offset? And then have code in posts that can display that offset?

For example,

CONFIG TIMEZONE +10
Your GMT offset is now +10 hours.


Then just some kind of identifier that you can put in posts, messages or tells to convert to the user's chosen timezone, for example (and the date might be optional):

tell Elryn The play starts at , be there or be square!

or to use your own offset (say GMT-1)

tell Elryn The play starts at , be there or be square!

And the teller might see (if they live in Greenwich):

You tell Elryn, "The play starts at 11:00pm (13/9/07), be there or be square!"

Whereas I might see (living in Australia):

HelpfulFellow tells you, "The play starts at 9:00am (14/9/07), be there or be square!"

Edit: Actually, I forgot Americans have their short dates back-to-front, so maybe it would have to be something like "9:00am, 14 September 2007".
Anisu2007-09-09 10:03:04
QUOTE(Avaer @ Sep 9 2007, 08:30 AM) 439940
Would it be at all possible to have a configuration option to set the character's GMT offset? And then have code in posts that can display that offset?

For example,

CONFIG TIMEZONE +10
Your GMT offset is now +10 hours.


Then just some kind of identifier that you can put in posts, messages or tells to convert to the user's chosen timezone, for example (and the date might be optional):

tell Elryn The play starts at , be there or be square!

or to use your own offset (say GMT-1)

tell Elryn The play starts at , be there or be square!

And the teller might see (if they live in Greenwich):

You tell Elryn, "The play starts at 11:00pm (13/9/07), be there or be square!"

Whereas I might see (living in Australia):

HelpfulFellow tells you, "The play starts at 9:00am (14/9/07), be there or be square!"

Edit: Actually, I forgot Americans have their short dates back-to-front, so maybe it would have to be something like "9:00am, 14 September 2007".

The problem here is daylight saving time. Lusternia's server is set to UTC, PST is UTC-8 but daylight saving times changes that to UTC-7(I think). The same way cental europe is UTC +1, but various countries use daylight saving time so currently it is UTC +2. Not all countries change from/to daylight saving time on the same dates so this script would be far more complicated and would potentially cause more trouble then the current system.

I think it is just better of they used the UTC time of the server, it is easy enough to calculate your own offset from the time given in the TIME command

edit: from googling it seems that PST is PT winter time and PDT is PT summer time, so erm did we all mix up the times?
Arin2007-09-13 11:52:32
If they can figure it out, I love it!!

I always spend a good 15 minutes trying to figure out times.