summaryrefslogtreecommitdiff
path: root/summainlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'summainlib.py')
-rw-r--r--summainlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/summainlib.py b/summainlib.py
index 8eac369..79e64e7 100644
--- a/summainlib.py
+++ b/summainlib.py
@@ -211,7 +211,7 @@ class FilesystemObject(object):
def format_time(self, secs, nsecs):
s = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(secs))
- s += ('%.6f' % (nsecs * 1e-9))[1:] # skip leading 0
+ s += '.%09d' % nsecs
s += ' +0000'
return s