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

Date objects converted to strings #41

Open
eashman opened this issue Jan 17, 2016 · 1 comment
Open

Date objects converted to strings #41

eashman opened this issue Jan 17, 2016 · 1 comment

Comments

@eashman
Copy link

eashman commented Jan 17, 2016

Is there a way we can allow Ruby date objects to get passed through to Fluent as dates as opposed to strings? See comment from this thread:

fluent/fluent-plugin-mongo#18

@repeatedly
Copy link
Member

No way because Ruby's Date cannot be represented in JSON/MessagePack or other serialization format.
If you want to do it, restore date object from string representation in plugin code.

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

2 participants