-
Notifications
You must be signed in to change notification settings - Fork 61
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
ISO 8601: Missing colon in timezone #44
Comments
We're using the PHP constant The chances of that being wrong seem pretty low. |
There is a note below that linked documentation:
What an irony for a constant called |
So either we fix it ourselves (add the colon) or should promote using the outlined formats. |
Heh, so someone made a mistake initially and instead of fixing it they decided to stick with it. PHP is full of funnies. |
Bloody Hell. Well, we can use ATOM instead of ISO8601 |
PHP's internal constant is *wrong*. Thankfully the ATOM format is *actually* ISO-8601 compliant. Refs #44
Pull request up. |
Shouldn't the toIso8601String() method have an colon between the hours and minutes in the timezone part?
1975-12-25T14:15:16-0500 becomes 1975-12-25T14:15:16-05:00
Spec: http://www.w3.org/TR/NOTE-datetime
Refs briannesbitt/Carbon#451
The text was updated successfully, but these errors were encountered: