Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants