Open ghost opened 8 years ago
I know using UTC is not the best solution, but I am not sure using the server time is much better. It is still using an arbitrary timezone independent from the user.
True. But it'll helps a lot of channels, as usually the non english language in a channel predefines most of users TZ too. GMT is valid just for one TZ
well, i'm going to make this configurable
Yeah, I just had the same idea.
so you are faster 8)
You can try something based on this to do the conversion: https://github.com/ProgVal/Limnoria/blob/master/plugins/Time/plugin.py#L193-L206
OK. Will try. Nice job for a beginner like me. Might take some time.
in order to display proper time i adjusted plugins/WebLogs line 178 from gmtime = time.gmtime(int(words[0])) to gmtime = time.localtime(int(words[0]))
The server is running in TZ Germany/Berlin and hence showing always "wrong" time. Subsequently var naming in some following lines should be adjusted to.