【问题标题】:jqgrid full month namesjqgrid 完整月份名称
【发布时间】:2011-09-03 12:33:42
【问题描述】:

我试过了:

$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

【问题讨论】:

  • 我发现的文档建议它应该是 'm' 或 'mm' 甚至可能是 'F' 而不是 'M'。
  • 天哪,谢谢!没有在文档中看到...你能给我一个链接吗?

标签: javascript jquery jqgrid jqgrid-formatter


【解决方案1】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-01
    • 1970-01-01
    相关资源
    最近更新 更多