Changeset 5188 for trunk/prototype/services/ImapServiceAdapter.php
- Timestamp:
- 11/18/11 11:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/services/ImapServiceAdapter.php
r5136 r5188 19 19 public function find( $URI, $context, $justthese = false, $criteria = false ) 20 20 { 21 21 22 if( is_array($URI) ) 22 23 { … … 94 95 if (array_key_exists($i, $result)) 95 96 { 96 $response["rows"][$i] = $result[$i]; 97 $response["rows"][$i]['timestamp'] = ( ( $result[$i]['udate'] + $this->functions->CalculateDateOffset() ) * 1000 ); 98 $response["rows"][$i]['flags'] = implode(',', $flags_enum); 99 $response["rows"][$i]['size'] = $response["rows"][$i]['Size']; 100 // $response["rows"][$i]['udate'] = ( $result[$i]['udate'] + $this->functions->CalculateDateOffset() * 1000 ); 101 unset($response["rows"][$i]['Size']); 97 $response["rows"][$i] = $result[$i]; 98 $response["rows"][$i]['body'] = $this->to_utf8($result[$i]['body']); 99 $response["rows"][$i]['timestamp'] = ( ( $result[$i]['udate']) * 1000 ); 100 //USA OS TIME ZONES 101 //$response["rows"][$i]['timestamp'] = ( ( $result[$i]['udate'] + $this->functions->CalculateDateOffset()) * 1000 ); 102 $response["rows"][$i]['flags'] = implode(',', $flags_enum); 103 $response["rows"][$i]['size'] = $response["rows"][$i]['Size']; 104 $response["rows"][$i]['udate'] = ( $result[$i]['udate'] + $this->functions->CalculateDateOffset() * 1000 ); 105 unset($response["rows"][$i]['Size']); 102 106 } 103 107 } … … 106 110 } 107 111 } 108 109 112 return $response; 110 113 }
Note: See TracChangeset
for help on using the changeset viewer.