diff options
author | MadCamel <madcamel@gmail.com> | 2009-04-26 20:15:52 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 13:01:33 +0200 |
commit | 1a284890a23188378db268500eb406f5505ff81b (patch) | |
tree | 225c681087c44f674bf3597f42b92fd541444c2d /src/map/atcommand.c | |
parent | e443b683ed7e38648b61e4e52d87e681d194a2b3 (diff) | |
download | tmwa-1a284890a23188378db268500eb406f5505ff81b.tar.gz tmwa-1a284890a23188378db268500eb406f5505ff81b.tar.bz2 tmwa-1a284890a23188378db268500eb406f5505ff81b.tar.xz tmwa-1a284890a23188378db268500eb406f5505ff81b.zip |
Changed all times to use UTC
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 07751bd..a981607 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5222,7 +5222,7 @@ int atcommand_servertime(const int fd, struct map_session_data* sd, memset(temp, '\0', sizeof(temp)); time(&time_server); // get time in seconds since 1/1/1970 - datetime = localtime(&time_server); // convert seconds in structure + datetime = gmtime(&time_server); // convert seconds in structure // like sprintf, but only for date/time (Sunday, November 02 2003 15:12:52) strftime(temp, sizeof(temp)-1, msg_table[230], datetime); // Server time (normal time): %A, %B %d %Y %X. clif_displaymessage(fd, temp); |