Closed dev-intellisoft closed 5 years ago
Falta o timezone na data
Em sáb, 13 de jul de 2019 17:19, Wellington Cunha notifications@github.com escreveu:
Pessoal estou fazendo teste aqui com nfephp e está apresentando o seguinte erro
Fatal error: Uncaught NFePHP\Common\Exception\ValidatorException: This XML is not valid. Element '{http: //www.portalfiscal.inf.br/nfe}dhEmi http://www.portalfiscal.inf.br/nfe%7DdhEmi': [facet 'pattern'] The value '2019-07-13T20:11:17' is not accepted by the pattern '(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d(-,+:00|(+:00))'.
Alguém sabe como resolvo isso?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nfephp-org/nfephp/issues/990?email_source=notifications&email_token=ACKVUY5ZJJBH5PBLDIOMJWDP7I2FFA5CNFSM4IDBV5G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7BPWNQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACKVUYYO6EKBPPMVXVTQI3DP7I2FFANCNFSM4IDBV5GQ .
Obrigado! Deu certo.
Pessoal estou fazendo teste aqui com nfephp e está apresentando o seguinte erro
Fatal error: Uncaught NFePHP\Common\Exception\ValidatorException: This XML is not valid. Element '{http: //www.portalfiscal.inf.br/nfe}dhEmi': [facet 'pattern'] The value '2019-07-13T20:11:17' is not accepted by the pattern '(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d(-,+:00|(+:00))'.
Alguém sabe como resolvo isso?