Menu

Date Bug in 3.5 Beta

Help
Rob Hunt
2004-03-11
2004-03-11
  • Rob Hunt

    Rob Hunt - 2004-03-11

    I dont know If you are awre but in Month view of March, April 1 is a Thursday. Click on next month and It moves to a Friday. the planner in question is at http://cgi.vreality.plus.com/bss/europe/index.php

    it happens on 2 planners I run

     
    • Jeremy Shaver

      Jeremy Shaver - 2004-03-11

      I think it has somethign to do with the server's timezone or clocks and how PHP is interpreting the dates. Could you try this:

      Create a test file somewhere on the system which contains the following:

      <?php
      $test1 = strtotime("4/1/2004");
      $test2 = date("w",strtotime("4/1/2004")) . "<br>\n";
      $test3 = $test1 - $test2*24*60*60;

      echo date("H:i m/d/Y",$test1) . ", " . $test2 . ", " . $test3 . "<br>\n";
      ?>

      Run that and post the output. Thanks!

      Jeremy

       

Log in to post a comment.