Skip to content

Commit

Permalink
Change ctime to localtime.
Browse files Browse the repository at this point in the history
See discussion in #1082
  • Loading branch information
eminence committed Aug 20, 2014
1 parent 8257220 commit 59d277a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overviewer_core/aux_files/genPOI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 59d277a

Please sign in to comment.