fix default tz on dateRange
This commit is contained in:
parent
203791f0f6
commit
6e175f48c5
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ export function getDateRangeLabel(value) {
|
|||
|
||||
export function getDateRangeFromValue(value) {
|
||||
const tz = JSON.parse(localStorage.getItem(TIMEZONE));
|
||||
const offset = tz.value
|
||||
const offset = tz ? tz.value : undefined
|
||||
|
||||
const now = DateTime.now().setZone(offset);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue