-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
effect/DateRange module #2727
Comments
+1 I wrote something like this a long while ago. Maybe it will serve as some inspiration lol. https://github.com/jessekelly881/time-fns/blob/main/src/Interval.ts |
Hey @jessekelly881 link is 404 for me. Private repo? |
Oops yep. Now it's public :) It's been a while since I wrote it lol. I decided to use |
@jessekelly881 I like the |
What is the problem this feature would solve?
A more declarative way to deal with date ranges and combinators over them in day to day work.
A start to integrating more aspects of e.g.
date-fns
into Effect for furthering its "standard library" value proposition.date-fns
hasDateInterval
.What is the feature you are proposing to solve the problem?
Something like this to get the ball rolling:
What alternatives have you considered?
Not sure this is worth putting in Effect. Maybe someone can riff off it to a worthwhile version. Feel free to close :)
The text was updated successfully, but these errors were encountered: