Comments (4)
.., if we can upgrade this module for professional use.
Since 0.0.2 it is possible to define opening hours passing midnight.
from django-openinghours.
To be more clear, this is the scenario that should NOT work:
Monday - set 1 - 08:00 - 14:00
Monday - set 2 - 09:00 - 16:00
Note that the set 2 starting time is smaller than the set 1 ending time. Is that what you mean with your proposal?
from django-openinghours.
now
OH1 0800 | 1200 1400 1700
---=================-------===========------------
OH2 0900 | 1100
--------=========---------------------------------
|
Yes, we're open!
I do not agree. There are use cases for that.
from django-openinghours.
OH1 has two sets right? So the first DB entry would be 0800 - 1200 and the second entry would be 1400 - 1700, correct? Because then it isn't what I mean.
Here is a screenshot of what I mean:
So,
Monday:
05:00 - 14:30
06:00 - 15:30
does not really make sense?!
from django-openinghours.
Related Issues (17)
- PREMISES_MODEL/OPENINGHOURS_PREMISES_MODEL
- Support for variable opening hours HOT 4
- Create a django CMS plugin HOT 1
- Setting Opening Hours HOT 2
- Concise not working if two sets HOT 1
- makemigrations fail after setting OPENINGHOURS_PREMISES_MODEL HOT 2
- on_delete HOT 1
- Use get_model() from django.apps to fix incompatibility with django-q HOT 1
- PEP8 compatible naming HOT 1
- how to make query that returns companies that are open? HOT 1
- pip install django-openinghours got an error with "Python setup.py egg_info" HOT 1
- [question] In utils.is_open, what's the purpose of (now_time < datetime.time(23, 59, 59)) ?
- Django 2.2 Support HOT 1
- Time zone handling HOT 1
- Adding a feature: Special Opening Hours HOT 1
- Opening hours are not ordered by weekday, when no Data is given for a day HOT 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 django-openinghours.