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

Added option for converting date to string. #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaek
Copy link

@michaek michaek commented Oct 30, 2018

Following from #67, this creates an option (date.toString) to use JavaScript date objects in queries rather than ISO strings. I didn't add test coverage for the option against all date formats, as it seemed that demonstrating the option works for each date method is sufficient.

Changing the arrow functions to standard functions does make things a bit uglier, but it's necessary to access the options on the bound this.

@michaek
Copy link
Author

michaek commented Apr 8, 2020

@Starefossen Is there a chance you might be able to review this PR and let me know if there's anything I should do to make it ready to merge?

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.

2 participants