Actions
Patch #26492
closed% is not valid without a format specifier
Start date:
Due date:
% Done:
0%
Estimated time:
Description
roadmap overview raises ArgumentError: incomplete format specifier on ruby 2.5 dev
as suggested on https://bugs.ruby-lang.org/issues/13761 it should be prepended with another '%'
'%0.0f%' % 45 - wrong '%0.0f%%' % 45 - correct
patch included
Environment: Redmine version 3.4.1.stable Ruby version 2.5.0-p-1 (2017-07-21) [x86_64-linux] Rails version 4.2.9 Environment production Database adapter PostgreSQL SCM: Git 2.13.0 Filesystem
Files
Updated by Go MAEDA about 7 years ago
- Category set to Roadmap
- Target version set to 3.4.3
Certainly "%%" is correct to display a percent sign itself in sprintf format string.
Setting target version to 3.4.3.
Updated by Jean-Philippe Lang about 7 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
Patch committed, thanks.
Updated by Jean-Philippe Lang about 7 years ago
- Status changed from Resolved to Closed
Actions