diff options
Diffstat (limited to 'indra/lib/python')
-rw-r--r-- | indra/lib/python/indra/base/llsd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/lib/python/indra/base/llsd.py b/indra/lib/python/indra/base/llsd.py index 8e71aee060..c841cdaf63 100644 --- a/indra/lib/python/indra/base/llsd.py +++ b/indra/lib/python/indra/base/llsd.py @@ -67,7 +67,7 @@ def format_datestr(v): seconds = v.second + float(v.microsecond) / 1000000 second_str = "%05.2f" % seconds else: - second_str = "%d" % v.second + second_str = "%02d" % v.second return '%s%sZ' % (v.strftime('%Y-%m-%dT%H:%M:'), second_str) |