mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 15:58:38 +01:00
.
This commit is contained in:
@@ -23,8 +23,11 @@ class DateService {
|
||||
|
||||
public slicesData = slicesData;
|
||||
|
||||
getDefaultRange(slice: Slice, from?: string, to?: string) {
|
||||
|
||||
getDefaultRange(slice: Slice) {
|
||||
return {
|
||||
from: new Date(Date.now() - slicesData[slice].fromOffset).toISOString(),
|
||||
to: new Date().toISOString()
|
||||
}
|
||||
}
|
||||
|
||||
getQueryDateRange(slice: Slice) {
|
||||
|
||||
Reference in New Issue
Block a user