1.month_format="%m"
2.笨方法:或许可以在month_empty那里定义你想要的默认月份。

解决方案 »

  1.   

    我用过month_format = "%m"没反应,对了你说定义默认选项能具体点不/
      

  2.   

    你的决过是字符的原因是使用标记“M”造成的只要使用了小写的m就OK了
      

  3.   

    1.那你到php手册里搜索:strftime
    2.month_empty,可以理解为select框第一个option里显示的值
      

  4.   

    你是说用month_empty='想要的月分'??还是用selected='月份'
      

  5.   

    参数用'%m'。如果不行的话,将plugins/function.html_select_date.php 里的函数function smarty_function_html_select_date的
    $month_format    = "%B"; 这行的默认参数改成 "%m";
      

  6.   

    不行就改smarty文件试试吧,如Mfforever所言。
      

  7.   

    if ($display_months),看到这个没!?
    下面有个数组,看到'selected'没!?加油!