Explorar o código

Merge pull request #442 from molinchenxi/master

try to complete timestamp_from_date_double test case in some scene
viest %!s(int64=2) %!d(string=hai) anos
pai
achega
dc9bb252e7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/timestamp_from_date_double.phpt

+ 1 - 0
tests/timestamp_from_date_double.phpt

@@ -4,6 +4,7 @@ Check for vtiful presence
 <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
 --FILE--
 <?php
+ini_set('date.timezone', 'UTC');
 var_dump(\Vtiful\Kernel\Excel::timestampFromDateDouble(43727.306782407));
 var_dump(\Vtiful\Kernel\Excel::timestampFromDateDouble(NULL));
 var_dump(\Vtiful\Kernel\Excel::timestampFromDateDouble(43727));