Skip to content

open_now and utc_offset is deprecated #3404

Open
@ikarofelix

Description

@ikarofelix

Everything I find about this issue is pretty old, and some even mentioned updating the library. I'm using the latest version, and this issue disappeared for a few days, but now it's back.

Error:
More than 190 errors mentioning utc_offset or open_now.

Image

Image

Application flow:

First, I call getPlaceDetails to retrieve the name, address, etc.:

Image

I'm destructuring everything to make sure I'm not receiving anything related to utc_offset or isOpen, but from the console log, I can see that I'm not receiving those fields since they are not included in fields.

Here's the console log of the place:

Image

After that, formData simply structures the place information, and then I call handleNearbyPlaces. This NearbyPlaces function tries to find, for example, restaurants near the place's latitude and longitude.

Image

This nearbyPlaces request allows passing openNow: true, but whether I pass true or false, the error persists.

In other words, nowhere in my code do I request open_now or utc_offset, yet I'm still getting the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions