开发者

jqgrid full month names

I've tried:

$grid->setColProperty("order_time", array( 
    "formatter"=>"date", 
    "formatoptions"=>array("srcformat"=>"Y-M-d","newformat"=>"d/M/Y"), 
    "search"=>false 
   ) 
);

I got wit this something like: 27/Oct/2011开发者_Go百科

I've also tried :

"formatoptions"=>array("srcformat"=>"Y-M-d","newformat"=>"d/MM/Y"), 

But I got something strange... 27/OctOct/2011

How can i get the date this format : 27/October/2011


http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types

The definition of the date format uses the PHP conversions.

So you can look them up here: http://php.net/manual/en/function.date.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜