bom de momento vou alterar a unit pcnAuxiliar
na função
function GetUTC(UF: string; const dataHora: TDateTime): string; overload; const UTC5 = '.AC.'; UTC4 = '.AM.RR.RO.MT.MS.'; UTC3 = '.AP.PA.MA.PI.TO.GO.CE.RN.PB.PE.AL.SE.BA.MG.ES.RJ.SP.PR.SC.RS.DF.'; var HorarioDeVerao: Boolean; begin if (UF = '90') or (UF = '91') or (UF = '') then UF := 'DF';
HorarioDeVerao := IsHorarioDeVerao(UF, dataHora);
if AnsiPos('.' + UF + '.', UTC4) > 0 then begin Result := '-04:00'; if HorarioDeVerao then Result := '-03:00'; end else if AnsiPos('.' + UF + '.', UTC3) > 0 then begin Result := '-03:00'; if IsHorarioDeVerao(UF, dataHora) then Result := '-02:00'; end else if AnsiPos('.' + UF + '.', UTC5) > 0 then begin Result := '-05:00'; end; end;
bem nessa parte aqui
if AnsiPos('.' + UF + '.', UTC4) > 0 then begin Result := '-04:00'; if HorarioDeVerao then Result := '-03:00'; end
para isso
if AnsiPos('.' + UF + '.', UTC4) > 0 then begin Result := '-04:00'; if HorarioDeVerao then Result := '-02:00'; end
preciso que retorna -02:00