Menu

Time displayed error

gts
2009-01-13
2013-06-03
  • gts

    gts - 2009-01-13

    Hi, I managed to get helpdesk 0.6.16 working on cents os 5.2.
    It is all working the only thing is the format the time shows.

    This is what the saved updates look like.
    -0/1-/09     13: 1  

    Yet the current time displays ok when making an update.
    01/13/09     13:50 

    Any ideas where abouts i can start looking to fix this??

     
    • Colin Marcom

      Colin Marcom - 2009-03-27

      I'm having the same issue!

      ...anyone?

       
    • gts

      gts - 2009-03-27

      replace

      // $YY = "$date_var[2]$date_var[3]";
      //  $MM = "$date_var[4]$date_var[5]";
      //  $DD = "$date_var[6]$date_var[7]";
      //  $hh = "$date_var[8]$date_var[9]";
      //  $mm = "$date_var[10]$date_var[11]";
      //  print "    $DD/$MM/$YY $hh:$mm\n";
      //$date_formatted = date("m/d/Y", $date_var);
      // print "    $date_formatted \n";

      with

      $date_var=$row[2];
      echo date("d/m/Y H:i",strtotime($date_var));

      I've just commented it out // check all your files

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.