Comments (4)
I think this would comes handy, working on it :). Thank you for your time filling an issue.
from opened-closed.
any scatches on that functionality ?
from opened-closed.
Sorry Franck, got completely absorbed on another side project. Will give it a try this weekend thanks for your patience 🙏
from opened-closed.
After a quick dig into the code, I might need to take a little bit more time to make a refactor:
- Currently the openings is a list of days related to hour spans -> I think this is wrong, if you want to have exceptional openings, this is limiting
- Closing is a list of time spans -> This is the reverse issue of 1., I should make sure both openings and closings actually supports time spans and day/hour spans
- The code is outdated (by basically 2-3 years) -> I would like to bring support for newest Node.Js versions (currently the package only support Node <= 14, newest is 19)
- Once I did this, I will be able to refactor the code to avoid working with hand-made date manipulation functions but using a state-of-the-art Date manipulation, I am used to use
Carbon
for PHP which lifts a lot of burden regarding this kind of task looking for something similar in JS to be able to work with Intervals etc...)
Hope it sounds ok and you're not in a hurry, sorry for the inconvenience!
from opened-closed.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opened-closed.