feat: convert from using dst offsets to use timezone code

feat: select timezones from current selected country
This commit is contained in:
Sérgio Salgado 2021-11-22 17:30:37 +00:00
parent cc8c48ff4c
commit 7d6fb17158
16 changed files with 86 additions and 117 deletions

View file

@ -31,12 +31,12 @@ const GraphTooltip = ({
formatDate(
dateInterval[1],
null,
period.code === 'day' ? 'MMM D, HH:mm' : 'MMM D'
period.code === 'day' ? 'MMM d, HH:mm' : 'MMM d'
),
formatDate(
dateInterval[0],
null,
period.code === 'day' ? 'HH:mm' : 'MMM D'
period.code === 'day' ? 'HH:mm' : 'MMM d'
)
]
: [