diff --git a/pyerrors/input/json.py b/pyerrors/input/json.py index 2e960c3b..4bd7031b 100644 --- a/pyerrors/input/json.py +++ b/pyerrors/input/json.py @@ -131,7 +131,7 @@ def create_json_string(ol, description='', indent=1): d['program'] = 'pyerrors %s' % (pyerrorsversion.__version__) d['version'] = '0.1' d['who'] = getpass.getuser() - d['date'] = datetime.datetime.now().astimezone().strftime('%Y-%m-%d %H:%M:%S %Z') + d['date'] = datetime.datetime.now().astimezone().strftime('%Y-%m-%d %H:%M:%S %z') d['host'] = socket.gethostname() + ', ' + platform.platform() if description: