jqgrid全月名称

时间:2011-09-03 12:33:43

标签: javascript jquery jqgrid jqgrid-formatter

我试过了:

$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

1 个答案:

答案 0 :(得分:3)