> - return date.strftime(opts['dateformat']) > + return date.strftime(pycompat.sysstr(opts['dateformat']))
Should be `encoding.strfromlocal()` because `opts['dateformat']` is provided by user. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel