feat: add timezone abbreviations
This commit is contained in:
parent
97f52616cf
commit
454da735a5
2 changed files with 99 additions and 75 deletions
|
|
@ -15,6 +15,7 @@ import { ReactComponent as PercentNeutralIcon } from 'src/styling/icons/dashboar
|
|||
import { ReactComponent as PercentUpIcon } from 'src/styling/icons/dashboard/up.svg'
|
||||
import { java, neon } from 'src/styling/variables'
|
||||
import { fromNamespace } from 'src/utils/config'
|
||||
import { timezones } from 'src/utils/timezone-list'
|
||||
import { toTimezone } from 'src/utils/timezones'
|
||||
|
||||
import PercentageChart from './Graphs/PercentageChart'
|
||||
|
|
@ -205,7 +206,10 @@ const SystemPerformance = () => {
|
|||
<div className={classes.graphHeader}>
|
||||
<Label2 noMargin>Transactions</Label2>
|
||||
<div className={classes.labelWrapper}>
|
||||
<P noMargin>{timezone} timezone</P>
|
||||
<P noMargin>
|
||||
{timezones[timezone].short ?? timezones[timezone].long}{' '}
|
||||
timezone
|
||||
</P>
|
||||
<span className={classes.verticalLine} />
|
||||
<div>
|
||||
<svg width={8} height={8}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue