fix(web) fix test (#1059)

This commit is contained in:
Alex
2022-12-04 22:51:22 -06:00
committed by GitHub
parent 5d140145c1
commit 966d99217a
7 changed files with 35 additions and 17 deletions

View File

@@ -14,9 +14,11 @@
return user.deletedAt != null;
};
const locale = navigator.languages;
const locale = navigator.language;
const deleteDateFormat: Intl.DateTimeFormatOptions = {
month: 'long', day: 'numeric', year: 'numeric'
month: 'long',
day: 'numeric',
year: 'numeric'
};
const getDeleteDate = (user: UserResponseDto): string => {