Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #104165
    Carlos
    Participant

    can this plugin allow variable restricted hours (per day) instead of setting restricted hours for all week?

    #104170
    Markov
    Keymaster

    Hi Carlos,

    There is a new property which is still in test phase, but it is available in the current version. It is called restricted. You can set an array with restricted dates and hours by using that property.

    Example:

    
    const today = new Date(), currentDate = today.getDate(), currentYear = today.getFullYear(), currentMonth = today.getMonth()
    
         restricted: [
                    { date: new Date(currentYear, currentMonth, currentDate), hours: [[0, 6], 12, [20, 23]] },
                    { date: new Date(currentYear, currentMonth, currentDate - 2), hours: [[0, 3], 12, [20, 21]] },
                    { date: new Date(currentYear, currentMonth, currentDate + 2), hours: [[0, 3], 13, [21, 22]] },
                    { date: new Date(currentYear, currentMonth, currentDate - 5), hours: [[0, 3], 13, [21, 22]] },
                    { date: new Date(currentYear, currentMonth, currentDate + 5), hours: [[0, 7], 13, [21, 22]] },
                    { date: new Date(currentYear, currentMonth, currentDate - 10), hours: [[0, 8], 12, [20, 23]] },
                    { date: new Date(currentYear, currentMonth, currentDate + 10), hours: [[0, 9], 12, [20, 23]] }
                ] 

    Hope this helps.

    Best regards,
    Markov

    Smart UI
    https://www.htmlelements.com/

    #113719
    Gabe Mallow
    Participant

    Hello everyone, does anyone else find that choosing a game can take longer than actually playing it? I often look through a few options before deciding what suits my mood. I recently spent some time on https://bettyspin.eu, mainly because I wanted to see what sort of slots were available. I usually go for games that are easy to follow and don’t require too much time to understand. If nothing catches my interest, I simply leave it for another day.

    • This reply was modified 2 days, 10 hours ago by Gabe Mallow.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.