ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Oct 2, 2006, 6:35:12 PM (16 years ago)
Author:
ebihara
Message:

#101 施設予約バッティング回避機能が働いていなかったのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_pnebiz/webapp_biz/modules/biz/do/s_add_schedule.php

    r269 r347  
    2828        }
    2929
    30         $y = date("Y", $requests['start_date']);
    31         $m = date("m", $requests['start_date']);
    32         $d = date("d", $requests['start_date']);
     30        $start_date = $requests['start_date'] . ' 00:00:00';
     31
     32        $y = date("Y", strtotime($start_date));
     33        $m = date("m", strtotime($start_date));
     34        $d = date("d", strtotime($start_date));
    3335
    3436        if(!biz_isBatting($requests['shisetsu_id'], $y, $m, $d, $begin_time, $finish_time)) {
Note: See TracChangeset for help on using the changeset viewer.