Condition does not work

Hello everyone...

With help from the forum, I made the code below to test the first Sunday of the month, but it didn't go into the "if" but into the "elseif"... can anyone help me?

{scs={time: DD/MM/YYYY; shift=SUN}}

if: scs = "DD/MM/YYYY"}JESUS,MPRF,MProféticoRochaDeFogo,SantaCeiaDoSenhor{elseif: {time: d} = 0}JESUS,MPRF,MProféticoRochaDeFogo,LouvorEAdoração{else}JESUS,MPRF,MProféticoRochaDeFogo,Avivamento{endif}

I figured it out... I reversed the test...