Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2021-12-10 10:41:25 +00:00
commit cceb14d0bd

View file

@ -131,7 +131,7 @@ def create_json_string(ol, description='', indent=1):
d['program'] = 'pyerrors %s' % (pyerrorsversion.__version__) d['program'] = 'pyerrors %s' % (pyerrorsversion.__version__)
d['version'] = '0.1' d['version'] = '0.1'
d['who'] = getpass.getuser() 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() d['host'] = socket.gethostname() + ', ' + platform.platform()
if description: if description: