mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 09:13:15 +03:00
fix(web): persisted store (#18385)
* fix(web): persisted store * fix: translation * fix: test * fix: test * revert i18n changes * fix blank locale
This commit is contained in:
@@ -62,12 +62,12 @@ export function formatGroupTitle(_date: DateTime): string {
|
||||
|
||||
// Today
|
||||
if (today.hasSame(date, 'day')) {
|
||||
return date.toRelativeCalendar();
|
||||
return date.toRelativeCalendar({ locale: get(locale) });
|
||||
}
|
||||
|
||||
// Yesterday
|
||||
if (today.minus({ days: 1 }).hasSame(date, 'day')) {
|
||||
return date.toRelativeCalendar();
|
||||
return date.toRelativeCalendar({ locale: get(locale) });
|
||||
}
|
||||
|
||||
// Last week
|
||||
|
||||
Reference in New Issue
Block a user