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/pc.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/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 2ac5ce1..982adea 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -818,7 +818,7 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, short tmw_versio // message of the limited time of the account if (connect_until_time != 0) { // don't display if it's unlimited or unknow value char tmpstr[1024]; - strftime(tmpstr, sizeof(tmpstr) - 1, msg_txt(501), localtime(&connect_until_time)); // "Your account time limit is: %d-%m-%Y %H:%M:%S." + strftime(tmpstr, sizeof(tmpstr) - 1, msg_txt(501), gmtime(&connect_until_time)); // "Your account time limit is: %d-%m-%Y %H:%M:%S." clif_wis_message(sd->fd, wisp_server_name, tmpstr, strlen(tmpstr)+1); } |