mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +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 = () => ({
|
const getThisMonthRange = () => ({
|
||||||
dateFrom: moment().startOf('month').format('YYYY-MM-DD'),
|
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() {
|
export function Dashboard() {
|
||||||
|
|||||||
Reference in New Issue
Block a user