GD v2.0.0.55: Business Hours issue

This topic contains 23 replies, has 5 voices, and was last updated by  Alex Rollin 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #486336

    Brigitte
    Expired Member
    Post count: 235

    Problem still not solved, still and always the same problem… Please watch the screenshot correctly, there is all the information to see the bug.

    Kiran please, please read me correctly. From the beginning I specify that I use only French addresses. Do not talk to me about regions timezone, in France ALL regions have the same timezone 🙂

    Thank you in advance for solving this problem.

    #486387

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Adrien,

    The Timezone field is in relation to UTC and does not need to be adjusted for DST (daylight savings time), so i think it should be +1 for France?
    I will add a note in the input settings for this.

    For the business hours to have it expanded if you are using the post meta widget under advanced settings you can add the extra class “gd-bh-expanded” which will show it as expanded by default.

    If i can help further just let me know.

    Thanks,

    Stiofan

    #486390

    Brigitte
    Expired Member
    Post count: 235

    Thanks Stiofan,

    But I’m sorry I don’t understand what you mean about UTC/DST 🙁

    The only thing I can tell you is that currently in ALL France we are in summer hours (+2 compared to UTC). And the business hours feature does not work properly, despite the fact that there are +2 in its settings, as shown on my screenshot.

    #486462

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    UTC = Universal Time Coordinated
    DST = daylight saving time

    France offset is +1 from UTC (not accounting for DST), the input on the add listing page expects this, the calculation for DST is done on the output function not the input function. The input expects the standard +/- offset so that you never have to change it.

    I have updated the text to read:

    Timezone offset from UTC (not including daylight savings time This is set automatically when address is set)

    All times should be +1 if in France, you can use the import/export to bulk update this if you have many listings that need changed.

    Thanks,

    Stiofan

    #486831

    Brigitte
    Expired Member
    Post count: 235

    Ok I understood.

    In this case, if GeoDirectory takes into consideration the correct timezone offset from UTC (not including daylight savings time set in WordPress settings), why does it still display +2 in the opening hours settings, when I create a new listing? I have to manually correct +1 every time.

    Thanks.

    #486832

    Brigitte
    Expired Member
    Post count: 235

    About the class “gd-bh-expanded”, the problem is that it expands ALL modules of opening hours on the website. I only want an auto-expand for single listing page. It is possible?

    #486887

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Adrien,

    1. The default should be +1, it looks like for some reason it is defaulting to the DST version, i have fixed this and it will be in the next release.

    2. The class should be added to the widget which should only affect that widget, not sure how exactly you are adding it?

    Thanks,

    Stiofan

    #486955

    Brigitte
    Expired Member
    Post count: 235

    Hi Stiofan,

    1) Thank you is clear now.

    2) I added the class in the “Business Hours” custom field (which appears in extra output location). I do not have a “Business Hours” widget ?!

    #487075

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Adrien,

    When you want to control the output of a custom field, then you will need to take it out of the “Show in extra output locations” display and use GD Post Meta.

    So, if you want the business hours to show ‘expanded’ on the Detail page, then UNCHECK Show in extra output locations -> Details page sidebar, then add a new widget for GD Post Meta to the Detail page sidebar. In the advanced options of the widget you can then add the custom class, limiting the expansion to just that widget.

    https://wpgeodirectory.com/docs-v2/templates/details/

Viewing 9 posts - 16 through 24 (of 24 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount