Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why adding \Z in BaseDomBuilder.php : getCreationDateTime()->format ? #25

Open
julienferment opened this issue Dec 18, 2013 · 1 comment

Comments

@julienferment
Copy link

Hello,
very nice work !
But just a question :
in BaseDomBuilder.php , line 93,
you are using datetime->format() with a \Z at the end.
Why ?
This \Z appears in my XML and it's not accepted by our bank.
Where am I wrong ?

Thank you

Julien

@BorislavSabev
Copy link

Yup, definately a bug here. It is strange that the Z is escaped. Could someone reiterate on this?
@julienferment if you remove the backward brackets ('') from infront of the T and Z it should be fine.

So instead of 2014-01-09T18:27:16Z
2014-01-09EET18:27:167200

My timezone (T): Eastern European Time (UTC+2), (GTM+2)
My timezone offset in secs. (Z): 7200 seconds

I just saw this on my system also, but it is strange that my banks do not validate this. Is there a legit reason for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants