Merged in feat/SW-3163-remove-openinghours-name (pull request #2735)

feat(SW-3163): update opening hours schema name/nameEnglish

* feat(SW-3163): remove name

* fix(SW-3163): update schemas


Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-09-04 14:18:57 +00:00
parent 711589ff5e
commit 8f813eb9e7
9 changed files with 27 additions and 28 deletions

View File

@@ -1,10 +1,10 @@
import { logger } from '@scandic-hotels/common/logger'
import type { IntlShape } from 'react-intl'
import { OpeningHours } from './openingHoursTypes'
import type { OpeningHours, AlternateOpeningHours } from './openingHoursTypes'
export function getGroupedOpeningHours(
openingHours: OpeningHours,
openingHours: OpeningHours | AlternateOpeningHours,
intl: IntlShape
): string[] {
const closedMsg = intl.formatMessage({