我试过了:
$grid->setColProperty("order_time", array(
"formatter"=>"date",
"formatoptions"=>array("srcformat"=>"Y-M-d","newformat"=>"d/M/Y"),
"search"=>false
)
);
我明白了这样的事情:27/Oct/2011
我也试过了:
"formatoptions"=>array("srcformat"=>"Y-M-d","newformat"=>"d/MM/Y"),
但我有些奇怪...... 27/OctOct/2011
如何获取此格式的日期:27/October/2011
答案 0 :(得分:3)