Vote #78656
完了% is not valid without a format specifier
0%
説明
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
journals
Certainly "%%" is correct to display a percent sign itself in sprintf format string.
Setting target version to 3.4.3.
--------------------------------------------------------------------------------
Patch committed, thanks.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------