From 59d277a13142f52fa02eeb5dfd9e7e3df13d5d04 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Tue, 19 Aug 2014 21:28:25 -0400 Subject: [PATCH] Change ctime to localtime. See discussion in #1082 --- overviewer_core/aux_files/genPOI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/aux_files/genPOI.py b/overviewer_core/aux_files/genPOI.py index 8c9910a..a6c6f83 100755 --- a/overviewer_core/aux_files/genPOI.py +++ b/overviewer_core/aux_files/genPOI.py @@ -191,7 +191,7 @@ def handlePlayers(rset, render, worldpath): data['y'] = int(data['Pos'][1]) data['z'] = int(data['Pos'][2]) # Time at last logout, calculated from last time the player's file was modified - data['time'] = time.ctime(os.path.getmtime(os.path.join(playerdir, playerfile)) + data['time'] = time.localtime(os.path.getmtime(os.path.join(playerdir, playerfile))) rset._pois['Players'].append(data) if "SpawnX" in data and dimension == 0: # Spawn position (bed or main spawn)