diff --git a/src/xsprintf/tsprintf.php b/src/xsprintf/tsprintf.php index 8bc1d8b4..aea1e7f4 100644 --- a/src/xsprintf/tsprintf.php +++ b/src/xsprintf/tsprintf.php @@ -48,6 +48,9 @@ function xsprintf_terminal($userdata, &$pattern, &$pos, &$value, &$length) { $value = PhutilTerminalString::escapeStringValue($value, false); $type = 's'; break; + case 'd': + $type = 'd'; + break; default: throw new Exception( pht(