Open brennosacra opened 1 year ago
I'm creating a selector for the user to choose predefined intervals, such as today, a week, a month, etc.
When I use today the range should be today's date - today's date, but litepicker puts the date 1 day earlier.
`new Litepicker({ element: document.getElementById('picker'), format: "DD/MM/YYYY", startDate: '2023-08-26', endDate: '2023-08-26', singleMode: false,
});`
Return 25/08/2023 - 25/08/2023
I'm creating a selector for the user to choose predefined intervals, such as today, a week, a month, etc.
When I use today the range should be today's date - today's date, but litepicker puts the date 1 day earlier.
`new Litepicker({ element: document.getElementById('picker'), format: "DD/MM/YYYY", startDate: '2023-08-26', endDate: '2023-08-26', singleMode: false,
});`
Return 25/08/2023 - 25/08/2023