我这么写:
9. 第99句test:<{$str8|capitalize|cat:"这里是新加的时间:"|lower |date_format:"%Y年%m月%d日"}>
输出结果:
9. 第99句test:here is combing:这里是新加的时间: 为什么不是:
9. 第99句test:here is combing:这里是新加的时间: 2007年12月05日时间怎么输出不了。
9. 第99句test:<{$str8|capitalize|cat:"这里是新加的时间:"|lower |date_format:"%Y年%m月%d日"}>
输出结果:
9. 第99句test:here is combing:这里是新加的时间: 为什么不是:
9. 第99句test:here is combing:这里是新加的时间: 2007年12月05日时间怎么输出不了。
对于同一个变量,你可以使用多个修改器。它们将从左到右按照设定好的顺序被依次组合使用。使用时必须要用"|"字符作为它们之间的分隔符。
手册上的话