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

Propose a fix for the issue #253 by not comparing IDatetime fields wh… #258

Closed

Conversation

sneridagh
Copy link
Member

…en patching and set the value always.

@sneridagh
Copy link
Member Author

@tisto @buchi @lukasgraf It's the simplest and less intrusive solution that I could think of to solve this problem. Let me know what do you think.

@lukasgraf
Copy link
Member

I haven't been involved with this part of the original implementation, so I'm afraid I can't really give any meaningful feedback without fully diving into it.

@buchi
Copy link
Member

buchi commented Mar 10, 2017

This will only work around the error you currently get when trying to create an event through the REST API. However you get an event with start/end dates without tzinfo which is inconsistent to events created through the web. Most likely this will lead to errors when viewing/editing the event with Plone's default views/forms. See discussion in #253

@sneridagh
Copy link
Member Author

Closing in favor of: #394

@sneridagh sneridagh closed this Aug 11, 2017
@tisto tisto deleted the issue-253-cannot-compare-offset-naive-and-offset-aware branch March 21, 2018 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants