WoW Classic GetServerTime() returns local time

Not much else to be said here, GetServerTime() returns local time instead of server/realm time.
imgur ELZyWEm.png

This has nothing to do with Blizzard’s Web API.

For help with in-game lua/xml API find the appropriate Macro and UI category in the WoW forum (this is Blizzard forum). You can find the correct forum in the game page on the new launcher.