mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-set-to-end): Fix date range to include the end of the month
This commit is contained in:
@@ -62,7 +62,7 @@ const CATEGORY_LABELS: { [key: string]: string } = {
|
||||
|
||||
const getThisMonthRange = () => ({
|
||||
dateFrom: moment().startOf('month').format('YYYY-MM-DD'),
|
||||
dateTo: moment().format('YYYY-MM-DD'),
|
||||
dateTo: moment().endOf('month').format('YYYY-MM-DD'),
|
||||
});
|
||||
|
||||
export function Dashboard() {
|
||||
|
||||
Reference in New Issue
Block a user