作者 jinglong

修改导入

@@ -186,7 +186,6 @@ class Free extends Backend @@ -186,7 +186,6 @@ class Free extends Backend
186 $formatcode = $cellstyleformat->getFormatCode(); 186 $formatcode = $cellstyleformat->getFormatCode();
187 if (preg_match('/^(\[\$[A-Z]*-[0-9A-F]*\])*[hmsdy]/i', $formatcode)) { 187 if (preg_match('/^(\[\$[A-Z]*-[0-9A-F]*\])*[hmsdy]/i', $formatcode)) {
188 // $val = strtotime(gmdate("Y-m-d H:i:s", $currentSheet->ExcelToPHP($val))); 188 // $val = strtotime(gmdate("Y-m-d H:i:s", $currentSheet->ExcelToPHP($val)));
189 - date_default_timezone_set('PRC');// 设置时区为北京时间  
190 $val = AdminCommon::getDateByFloatValue($val); 189 $val = AdminCommon::getDateByFloatValue($val);
191 } 190 }
192 } 191 }
@@ -205,7 +205,6 @@ class Registers extends Backend @@ -205,7 +205,6 @@ class Registers extends Backend
205 $formatcode = $cellstyleformat->getFormatCode(); 205 $formatcode = $cellstyleformat->getFormatCode();
206 if (preg_match('/^(\[\$[A-Z]*-[0-9A-F]*\])*[hmsdy]/i', $formatcode)) { 206 if (preg_match('/^(\[\$[A-Z]*-[0-9A-F]*\])*[hmsdy]/i', $formatcode)) {
207 // $val = strtotime(gmdate("Y-m-d H:i:s", $currentSheet->ExcelToPHP($val))); 207 // $val = strtotime(gmdate("Y-m-d H:i:s", $currentSheet->ExcelToPHP($val)));
208 - date_default_timezone_set('PRC');// 设置时区为北京时间  
209 $val = AdminCommon::getDateByFloatValue($val); 208 $val = AdminCommon::getDateByFloatValue($val);
210 } 209 }
211 } 210 }