Incorrect UTC Time

This topic contains 12 replies, has 3 voices, and was last updated by  Kiran 4 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #504916

    P O
    Expired Member
    Post count: 501

    I just discover that the UTC Time is incorrect in all my places. It says “This will be added automatically after adding address”. it is not. All of them have +1, which is incorrect.

    Where can I add a default UTC time? All my places have the same, but having to go manually to edit all and have to remember to change the time in each one of the new ones is not good.

    Thanks.

    #504927

    Alex Rollin
    Moderator
    Post count: 27815

    You can adjust the site timezone.

    To change previous places you can use import export. Export the listings, edit, re-import.

    Read more about business hours here: https://wpgeodirectory.com/docs-v2/places/custom/#business-hours

    #504929

    P O
    Expired Member
    Post count: 501

    The timezone is based on the address, not the server, not what I believe, and not…

    If I enter a place in Canada, the timezone should be for Canada.

    With this you are telling me that I will have to enter manually all the timezones, all the time and for all the places?

    Thank you.

    #504949

    Alex Rollin
    Moderator
    Post count: 27815

    I have been informed that the entry is for the timezone offset of the place from UTC, not including BST or DST.

    #504958

    P O
    Expired Member
    Post count: 501

    And it is not working by address, you have to enter it manually.

    That is the problem I have.

    Can you please confirm this value has to be entered manually and it is not working automatically as it says?

    Thank you.

    #505066

    Alex Rollin
    Moderator
    Post count: 27815

    The developers say that, to make the automatic insertion of timezone offset in business hours work that a google maps API key is needed, the second key that is for Geocoding. That key should not have http referrer restrictions. It is not used on the frontend and not exposed on the site.

    If there is an issue, we can take a look. Please share WP Admin so we can check on your site. This isn’t a known issue so it must be something going on with your site.

    Support for free or expired members is only for sites running the core plugin https://wpgeodirectory.com/support-policy/

    #505106

    P O
    Expired Member
    Post count: 501

    I believe I found that the problem is when saving a place (draft or publish) before enabling time.

    If you add a new place, enter the address, then change open time to yes and then save, it changes to the correct time zone.

    If you add a place, text, images, address, everything and leave time to off and save, the time zone stays as default and does not change.

    Which is a problem.

    If you come back later to add the open time, the time zone is incorrect in all places.

    Time zone should change always based on the address if time is enabled or if is not when saving.

    Thanks.

    #505199

    Alex Rollin
    Moderator
    Post count: 27815

    That will only happen with the API key in place. Are you using the Google maps API key? If so please share WP Admin credentials and we can check on your site.

    Thanks

    #505203

    P O
    Expired Member
    Post count: 501

    That will only happen with the API key in place

    I don’t understand.

    If you save with open time OFF it uses default time zone +1, if you save with open time ON it uses the address time zone.

    Why that has something to do with the API?

    It should always use the address time zone.

    Thanks.

    #506459

    P O
    Expired Member
    Post count: 501

    Anything about this?

    #506502

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    We uses Google Timezone API service to retrieve timezone based on address selected.
    When business hours is off then it means listing is not using business hours, so it is not updating business hours & timezone. But if business hours is ON then after saving listing then user have option to edit timezone. That’s why we have provided input to enter timezone manually from user(if user want).
    In short this is normal behaviour.

    Let us know.

    Kiran

    #506506

    P O
    Expired Member
    Post count: 501

    The problem is that autosave runs and then you have your place with time off and an incorrect timezone.

    If you save a draft the same, incorrect timezone.

    If you come later to add a open and close time to any place, again, incorrect timezone.

    So you have to actually “add place”, enter address, run to hit time on and save. Which makes no sense.

    Why not having it always towards the address, even after save?

    If I have a published place with no time, if I turn on time and hit save, the timezone is not updated, why ?

    Thanks.

    #506509

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 13 posts - 1 through 13 (of 13 total)

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

Open Support Ticket