medallyon / grogsile.org-archive

The (old) Official Bot For ESO International
https://discordapp.com/invite/0jGipOeWW06jNmlL
Apache License 2.0
1 stars 0 forks source link

Timezone conversion helper #112

Open whisperity opened 6 years ago

whisperity commented 6 years ago

There might be other bots who can do this, and it is an easy Google search, but especially for planning events, ESPECIALLY on the EU side, people are sooooo dumb. Prime example is the 99.999999% of idiot British people who think GMT is still their own time when BST is turned on.

In WoW, we have something called Realm time or Server time, which for EU realms is always CET/CEST. But in ESO, another lackage, this doesn't exist, only through unofficial, wonky "In-game time" addons which, and I quote, you need to calibrate based on when the sun is right above you in-game, what is this, Stonehenge simulator?!

The user command should look something like this: /time 12:00 GMT CEST EDT. First a time, then the "local" timezone, then a list of timezones to convert to. If no 2nd or further argument given, it should convert simply to GMT. Above timezone abbreviations, it should also accepts zulu-offsets (/time 1200 +0200 +0000) or even city/country names: /time 16:37 NewYork London.

And please, use a standard library solution. :wink: