Parcourir la source

try to complete timestamp_from_date_double test case in some scene

sanyi il y a 2 ans
Parent
commit
e3ae965470
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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));