protected function getTzOffsetForTimestamp($tzOffset) { $tzOffset = str_replace(':', '', $tzOffset); return $tzOffset == '+0000' ? 'Z' : $tzOffset; }