refactor: change opening hours handling

fix: opening hours not updating
feat: lazy-load opening hours module
feat: add e2e tests for opening hours
refactor: migrate opening hours to on-push change detection
feat: show exact minutes in opening hours starting one hour before next change
This commit is contained in:
2023-09-14 16:17:39 +02:00
parent a5c9d22016
commit a99e08cd68
24 changed files with 475 additions and 274 deletions

View File

@@ -69,15 +69,13 @@
},
"common": {
"openingHours": {
"closing": "Closing {{relativeDateTime}}",
"closing_soon_warning": "Closing soon! At {{time}}",
"closing_today": "Closing at {{time}}",
"closing": "Closing {{date}}",
"closing_soon": "Closing in {{duration}}",
"state_closed": "Closed",
"state_maybe": "Maybe open",
"state_open": "Open",
"opening": "Opens {{relativeDateTime}}",
"opening_today": "Opens at {{time}}",
"opening_soon_warning": "Opens soon! At {{time}}"
"opening": "Opens {{date}}",
"opening_soon": "Opens in {{duration}}"
}
},
"dashboard": {