Skip to content

Commit

Permalink
Server: Remove UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Beguier committed Aug 25, 2017
1 parent b2895b3 commit 772c0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def sql_to_json(result):
d_result['username'] = result[0]
d_result['realname'] = result[1]
d_result['status'] = STATES[result[2]]
d_result['expiration'] = datetime.fromtimestamp(result[3]).strftime('%Y-%m-%d %H:%M:%S (UTC+0000)')
d_result['expiration'] = datetime.fromtimestamp(result[3]).strftime('%Y-%m-%d %H:%M:%S')
d_result['ssh_key_hash'] = result[4]
return dumps(d_result, indent=4, sort_keys=True)

Expand Down

0 comments on commit 772c0c2

Please sign in to comment.