132
132
"""Undo the encode operation, returning a unicode string.
140
140
>>> for s in ('test', 'strings'):
141
141
... if decode(encode(s)) != s:
142
142
... print 'Failed: %r' % s # There should be no failures
147
147
def format_highres_date(t, offset=0):
148
148
"""Format a date, such that it includes higher precision in the