mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-16 20:43:41 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
cceb14d0bd
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue