fix(bi): parse issue of date variables (#3520)

This commit is contained in:
YANG QIA 2024-02-19 20:14:45 +08:00 committed by GitHub
parent a18103baa0
commit 041f146d7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ export const transformValue = (value: any, props: any) => {
start = start.startOf('day');
end = end.endOf('day');
}
return [moment2str(start, props), moment2str(end, props)];
return [start.toISOString(), end.toISOString()];
}
return value;
};