Skip to content

Locator Plus incorrectly shows “Closed” for locations open 24 hours #302

Description

@ibweb

We are using Google Maps Platform’s Locator Plus solution for a multi-location business. Every location is open 24 hours a day, seven days a week.

However, Locator Plus incorrectly displays “Closed” in two places:

  1. At the top of the selected location’s details
  2. Beside the operating-hours section

When the hours section is expanded, it correctly shows:

  • Monday: Open 24 hours
  • Tuesday: Open 24 hours
  • Wednesday: Open 24 hours
  • Thursday: Open 24 hours
  • Friday: Open 24 hours
  • Saturday: Open 24 hours
  • Sunday: Open 24 hours

The locations also display correctly as open 24 hours in Google Maps, including when viewed while signed out or in an incognito browser window. We confirmed that there are no conflicting special hours or temporary closure settings.

We tested the affected location through the Places JavaScript API and received the following results:

requestStatus: "OK"
businessStatus: "OPERATIONAL"
isOpenNow: true
periods: Array(1)
weekdayText: Array(7)
utcOffsetMinutes: -300

The weekdayText response correctly lists every day as “Open 24 hours.”

The location’s opening-hours period also appears to use Google’s standard format for a continuously open business: one opening period beginning Sunday at midnight without a closing time.

We are currently loading version 0.6.15 of the Google Maps Extended Component Library. We previously observed the same behavior while using an earlier version, believed to be 0.6.11, so this does not appear to be a recent version-specific regression.

Our Locator Plus configuration uses valid Place IDs and has location details enabled. No custom code is being used to calculate or override the open/closed status.

Based on the API returning isOpenNow: true, it appears Locator Plus may be incorrectly interpreting the opening-hours structure used for businesses that are continuously open 24/7.

Has anyone else encountered this issue with Locator Plus or the gmpx-place-overview component?

Is there a recommended workaround for preventing Locator Plus from showing “Closed” when the Places API correctly reports that the location is open?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions