バグ報告 > その他 > LC_Page_FrontParts_Bloc_Calendar.phpのlfGetCalendarメソッド |
その他
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
aquarn |
投稿日時: 2009/12/24 17:37
対応状況: −−−
|
新米 登録日: 2009/2/24 居住地: 投稿: 4 |
LC_Page_FrontParts_Bloc_Calendar.phpのlfGetCalendarメソッド 表題のメソッドですが、3か月以上のカレンダーを取得しようとした場合、正常に取得できません
2009年12月に3か月取得すると 2009年12月 2010年1月 2011年2月 となってしまいます。 LC_Page_FrontParts_Bloc_Calendar.phpの110行目付近 $year = date("Y",strtotime("+".$j."month")); $month = date("m",strtotime("+".$j."month")); //$year = date('Y'); //$month = date('n') + $j; //if ($month > 12) { // $month = $month%12; // $year = $year + $month%12; //} とすることで正常なカレンダーが取得できるかと思います。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» LC_Page_FrontParts_Bloc_Calendar.phpのlfGetCalendarメソッド | aquarn | 2009/12/24 17:37 |
Re: LC_Page_FrontParts_Bloc_Calendar.phpのlfGetCalendarメソッド | seasoft | 2009/12/24 19:29 |