GithubHelp home page GithubHelp logo

Validation about django-openinghours HOT 4 CLOSED

arteria avatar arteria commented on June 15, 2024
Validation

from django-openinghours.

Comments (4)

philippeowagner avatar philippeowagner commented on June 15, 2024

.., 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.

oesah avatar oesah commented on June 15, 2024

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.

philippeowagner avatar philippeowagner commented on June 15, 2024
              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.

oesah avatar oesah commented on June 15, 2024

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:
bildschirmfoto 2017-03-27 um 14 21 59

So,

Monday:
05:00 - 14:30
06:00 - 15:30

does not really make sense?!

from django-openinghours.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.