You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using your library for about a year now and it has been fantastic. Thank you. I have been working with a team that would like to use a space instead of a T for the Date Time format. If you look at the RFC-3339 section 5.6 and the NOTE at the bottom of the page:
NOTE: ISO 8601 defines date and time separated by "T".
Applications using this syntax may choose, for the sake of
readability, to specify a full-date and full-time separated by
(say) a space character.
The file you have for parsing and validation date time for JSON Schema requires a T and does not allow for the option a space. I will submit a PR under this issue number and you can let me know if that works for the direction of your project. It is a minor change to the file src/JsonSchema/Rfc3339.php where the regular expression needs to be modified and the date format needs to be altered.
cheers!
The text was updated successfully, but these errors were encountered:
Hi There!
I have been using your library for about a year now and it has been fantastic. Thank you. I have been working with a team that would like to use a space instead of a
T
for the Date Time format. If you look at the RFC-3339 section5.6
and theNOTE
at the bottom of the page:The file you have for parsing and validation date time for JSON Schema requires a
T
and does not allow for the option a space. I will submit a PR under this issue number and you can let me know if that works for the direction of your project. It is a minor change to the filesrc/JsonSchema/Rfc3339.php
where the regular expression needs to be modified and the date format needs to be altered.cheers!
The text was updated successfully, but these errors were encountered: