瀏覽代碼

fixed problems I introduced in previous version of date.php

Luke Ehresman 25 年之前
父節點
當前提交
f0c8e588d3
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      functions/date.php

+ 0 - 5
functions/date.php

@@ -67,10 +67,6 @@
       else if ($gmt == "MET DST" || $gmt == "METDST")
          $gmt = "+0200";
       
-      if ($gmt = "")
-         $gmt = "+0000";
-
-      /*
       if (substr($gmt, 0, 1) == "-") {
          $neg = true;
          $gmt = substr($gmt, 1, strlen($gmt));
@@ -86,7 +82,6 @@
          $gmt = "-$gmt";
       else
          $gmt = "+$gmt";
-      */
 
       /** now find what the server is at **/
       $current = date("Z", time());