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>
|
||||||
<Box>
|
<Box>
|
||||||
<Heading size="xs">Start Date</Heading>
|
<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>
|
||||||
<Box>
|
<Box>
|
||||||
<Heading size="xs">End Date</Heading>
|
<Heading size="xs">End Date</Heading>
|
||||||
<Text>{new Date(props.end).toLocaleDateString()}</Text>
|
<Text>
|
||||||
|
{new Date(props.end).toLocaleDateString(undefined, {
|
||||||
|
timeZone: "utc",
|
||||||
|
})}
|
||||||
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
{typeof props.hiatus === "boolean" ? (
|
{typeof props.hiatus === "boolean" ? (
|
||||||
<Box>
|
<Box>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user