ajax.php
changeset 345 4ccdfeee9a11
parent 336 bfa2e9c23f03
child 378 c1c7fa6b329f
equal deleted inserted replaced
344:be6c5fdd9203 345:4ccdfeee9a11
   180       if ( $row['time_id'] > $time )
   180       if ( $row['time_id'] > $time )
   181       {
   181       {
   182         $return = array(
   182         $return = array(
   183           'mode' => 'obsolete',
   183           'mode' => 'obsolete',
   184           'author' => $row['author'],
   184           'author' => $row['author'],
   185           'date_string' => date('d M Y h:i a', $row['time_id']),
   185           'date_string' => enano_date('d M Y h:i a', $row['time_id']),
   186           'time' => $row['time_id'] // time() ???
   186           'time' => $row['time_id'] // time() ???
   187           );
   187           );
   188         echo enano_json_encode($return);
   188         echo enano_json_encode($return);
   189         break;
   189         break;
   190       }
   190       }