Skip to content

Commit

Permalink
chore: ranked day tracker ui tweaks
Browse files Browse the repository at this point in the history
requested by Lil
  • Loading branch information
JLaferri committed Apr 14, 2024
1 parent 4ab0676 commit 916ce4e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/renderer/pages/home/sidebar/ranked_status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const InternalRankedStatus = ({
<Typography
{...stylex.props(styles.stroke)}
variant="body1"
color={isFullAccess ? colors.greenDark : colors.purpleLight}
color={isFullAccess ? colors.greenDark : colors.textDim}
fontSize={"20px"}
fontWeight={"medium"}
>
Expand All @@ -124,7 +124,14 @@ const InternalRankedStatus = ({
{countdown}
</Typography>
<Typography fontSize={"12px"} color={colors.textDim} marginTop={"-4px"}>
{nextTime.toLocaleString()}
{nextTime.toLocaleString(undefined, {
year: "numeric",
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit",
// timeZoneName: "short", // Chose not to include this. Can sometimes confuse Europeans (happened at smashgg)
})}
</Typography>
</div>
<Typography fontSize={"11px"} color={colors.textDim} marginTop={"12px"}>
Expand Down

0 comments on commit 916ce4e

Please sign in to comment.