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

[RFR] Fix date sent to json_server in blog example #347

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

fzaninotto
Copy link
Member

We used to send a simple string to the backend, now we send a serialized date. Unfortunately, the backend used in the blog example doesn't understand dates, and even less timezones. So we do the job in the frontend of undoing timezone offset and sending the raw date.

Closes #345

jeromemacias added a commit that referenced this pull request Mar 5, 2015
[RFR] Fix date sent to json_server in blog example
@jeromemacias jeromemacias merged commit 50129b8 into master Mar 5, 2015
@jeromemacias jeromemacias deleted the example_date branch March 5, 2015 08:28
@fzaninotto
Copy link
Member Author

I must be drunk or something: there is no such thing as a date with timezone (only a datetime with time zone). What I added as a special case should be the default case. I'll make another PR.

fzaninotto added a commit that referenced this pull request Mar 5, 2015
Uses a simple datepicker widget (similar to date field), but allows to
enter time.

Supersedes #297

Also, fixes the date field to skip timezones entirely (refs #345, #347)
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

Successfully merging this pull request may close these issues.

Can't filter on date anymore with sample config
2 participants