diff --git a/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc b/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc
index b163d1b0552aff03fe479d7fa38caf4b1677b736..c06fa68ccb7208f9ce16913a1d56741db6d0b11d 100644 (file)
$ret[$attr] = $this->$attr;
}
- $ret['timestamp'] = $this->_timestamp_to_event($this->timestamp);
-
+ # Check if timestamp is in gosa-si-time-format
+ if(!tests::is_gosa_si_time($ret['timestamp'])){
+ $ret['timestamp'] = $this->_timestamp_to_event($this->timestamp);
+ }
return($ret);
}