##// END OF EJS Templates
py3: use encoding.strtolocal() to convert string to bytes...
Pulkit Goyal -
r35205:d4b108fd default
parent child Browse files
Show More
@@ -721,6 +721,7 b' def debugstate(ui, repo, **opts):'
721 else:
721 else:
722 timestr = time.strftime(r"%Y-%m-%d %H:%M:%S ",
722 timestr = time.strftime(r"%Y-%m-%d %H:%M:%S ",
723 time.localtime(ent[3]))
723 time.localtime(ent[3]))
724 timestr = encoding.strtolocal(timestr)
724 if ent[1] & 0o20000:
725 if ent[1] & 0o20000:
725 mode = 'lnk'
726 mode = 'lnk'
726 else:
727 else:
General Comments 0
You need to be logged in to leave comments. Login now