• Resolved CompKing

    (@compking)


    Thanks for a great plug-in.

    Running into a logic problem.

    %today% incorrectly shows Sunday when today is Monday
    %now% shows the correct time in my current time zone
    %tomorrow% returns a blank result (along with all other variables which refer to tomorrow)

    As such
    I can’t do anything with tomorrow hours, and today’s hours are wrong as they show yesterday’s hours.

Viewing 15 replies - 1 through 15 (of 41 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @compking Thanks for sharing this with me.

    I’ll check out the logic and fix it in the upcoming version (likely to be quite soon).

    Two things, what’s is your timezone roughly what are your opening hours?

    I’ll use this information to replicate the error and ensure the problem is resolved for you and anyone else using the conditional and replacement text.

    Thread Starter CompKing

    (@compking)

    My Time zone is GMT-6 (Mountain Time). I am set to “Edmonton” time zone

    Operating Hours are:
    Monday 12pm – 9pm
    Tuesday 12pm – 9pm
    Wednesday 12pm – 9pm
    Thursday 12pm – 10pm
    Friday 11am – 10pm
    Saturday 12pm – 7pm
    Sunday 11am – 9pm

    Thank you!

    Plugin Author Design Extreme

    (@designextreme)

    @compking Thanks for this. I’ll find out what this issue is here and publish a new release once that is done.

    Plugin Author Design Extreme

    (@designextreme)

    @compking I found the issue and I’ve fixed it in the next version: 1.6. I’ll release this shortly.

    When you’ve updated the plugin, please let me know if the days/times align properly? I have added something to make a correction, but I cannot test the upgrade process until I released it. Thanks!

    Thread Starter CompKing

    (@compking)

    I will do. Thanks I’ll keep an eye out for the new version..

    I’m having a similar issues with the days being off. Do you know when you’ll be releasing the update?

    Plugin Author Design Extreme

    (@designextreme)

    @mattsop Thanks for the addition. I’ll release the update within 24 hours.

    Plugin Author Design Extreme

    (@designextreme)

    @eule1 @mattsop Fixed in version 1.6. ??

    Please update and let me know how it goes for you. Please pay attention to the alignment of the days – it should ensure they are set from 0 to 6 – Sunday to Saturday.

    • This reply was modified 4 years, 6 months ago by Design Extreme. Reason: Added @mattsop

    Thank you so much. Now it looks great.
    Still one more question. How can I put a border around the table? Guess I need to do some CSS, sorry I am fairly a beginner. Anyhow, great plugin.

    Plugin Author Design Extreme

    (@designextreme)

    @eule1 I would recommend adding something to the Child Theme if you can – otherwise you can add something to the Additional tab under Custom Styles.

    Here is a suggestion for tables in general:

    table {
    	border: 2px solid #222222;
    }

    …or just for the opening hours:

    table.opening-hours {
    	border: 2px solid #222222;
    }

    Play around with a bit to get the desired effect.

    Awesome support. This works perfect. Table looks great now.

    Plugin Author Design Extreme

    (@designextreme)

    @compking I forgot to tag you earlier. Please download the latest version: 1.6 – the today/tomorrow issue is fixed.

    Please let me know if there are any discrepancies with the week days after the update – it should continue to show the correct day names and corresponding hours without any further intervention.

    And @eule1, if you like the plugin, please leave a review. Thanks! ??

    Thread Starter CompKing

    (@compking)

    I think the back end database is better, but now the Widget doesn’t agree to the config.

    The Widget shows the following (off by one day)
    Business Hours
    Monday 12pm – 9pm
    Tuesday 12pm – 9pm
    Wednesday 12pm – 9pm
    Thursday 12pm – 10pm [For example, this should be Friday’s Hours]
    Friday 11am – 10pm [This is Saturday’s Hours]
    Saturday 12pm – 7pm
    Sunday 11am – 9pm

    Plugin Author Design Extreme

    (@designextreme)

    @compking Ah, I’ll release a fix for that within 24 hours – there was something I missed in the Widget version. Thanks for letting me know about this.

    Plugin Author Design Extreme

    (@designextreme)

    @compking I’ve corrected the days in the Widget – it was good to fix this quickly rather than leave it. Please update to version 1.7.

Viewing 15 replies - 1 through 15 (of 41 total)
  • The topic ‘Days are off’ is closed to new replies.