Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG543b7b349b2c: py3: make sure we pass str to date.strftime()
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
- return date.strftime(opts['dateformat'])
+ return date.strftime(pycompat.sysstr(opts['dateformat']))
Should be encoding.strfromlocal() because opts['dateformat'] is provided
by user.