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

Problem with date in RFCDate #33

Closed
skywebconcept opened this issue Mar 28, 2013 · 1 comment
Closed

Problem with date in RFCDate #33

skywebconcept opened this issue Mar 28, 2013 · 1 comment

Comments

@skywebconcept
Copy link

If i leave te default date format, i get twice +100

This : $result = sprintf("%s %s%04d", date('D, j M Y H:i:s O'), $tzs, $tz);
Gives in logs : CLIENT -> SMTP: Date: Thu, 28 Mar 2013 11:18:13 +0100 +0100

So i changed it to : $result = sprintf("%s %s%04d", date('D, j M Y H:i:s'), $tzs, $tz);
(deleted the O option in date function)

@skywebconcept
Copy link
Author

That was quick 👍

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

1 participant