feat: add config migration

This commit is contained in:
Sérgio Salgado 2021-05-06 19:09:36 +01:00 committed by Josh Harvey
parent cf6e5354ec
commit da0d25c040
4 changed files with 26 additions and 5 deletions

View file

@ -70,7 +70,7 @@ const buildLabel = tz => {
const getTzLabels = timezones =>
R.map(
it => ({ label: buildLabel(it), code: it }),
it => ({ label: buildLabel(it), code: `${it.utcOffset}:${it.dstOffset}` }),
getFinalTimezones(timezones)
)