|
|
|
@ -62,7 +62,7 @@ export const MatchDescription = () => { |
|
|
|
} = profile |
|
|
|
} = profile |
|
|
|
|
|
|
|
|
|
|
|
const isChangedTimeFormat = includes(['US', 'CA'], user?.profile.country_code) |
|
|
|
const isChangedTimeFormat = includes(['US', 'CA'], user?.profile.country_code) |
|
|
|
const localDate = format(parseDate(date), 'MMMM d, y') |
|
|
|
const localDate = format(parseDate(date), isMobileDevice ? 'MMM d, y' : 'MMMM d, y') |
|
|
|
const changedTimeFormat = format(parseDate(date), |
|
|
|
const changedTimeFormat = format(parseDate(date), |
|
|
|
isChangedTimeFormat ? 'h:mm a' : 'HH:mm') |
|
|
|
isChangedTimeFormat ? 'h:mm a' : 'HH:mm') |
|
|
|
|
|
|
|
|
|
|
|
|