Browse Source

Merge pull request #442 from molinchenxi/master

try to complete timestamp_from_date_double test case in some scene
viest 2 years ago
parent
commit
dc9bb252e7
1 changed files with 1 additions and 0 deletions
  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));