Make dates on inactivity notice card utc
This commit is contained in:
parent
3e9cfb8aaf
commit
0504908319
@ -91,11 +91,19 @@ export default function (
|
||||
</Box>
|
||||
<Box>
|
||||
<Heading size="xs">Start Date</Heading>
|
||||
<Text>{new Date(props.start).toLocaleDateString()}</Text>
|
||||
<Text>
|
||||
{new Date(props.start).toLocaleDateString(undefined, {
|
||||
timeZone: "utc",
|
||||
})}
|
||||
</Text>
|
||||
</Box>
|
||||
<Box>
|
||||
<Heading size="xs">End Date</Heading>
|
||||
<Text>{new Date(props.end).toLocaleDateString()}</Text>
|
||||
<Text>
|
||||
{new Date(props.end).toLocaleDateString(undefined, {
|
||||
timeZone: "utc",
|
||||
})}
|
||||
</Text>
|
||||
</Box>
|
||||
{typeof props.hiatus === "boolean" ? (
|
||||
<Box>
|
||||
|
Loading…
x
Reference in New Issue
Block a user