This commit is contained in:
Aayush Rohila
2023-10-09 18:20:51 +05:30
parent 5e51f70ea4
commit 600aea74a9
3 changed files with 7 additions and 7 deletions
@@ -185,11 +185,11 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
}
}
convertMomentDate(date: string) {
convertMomentDate(date: string): string {
return DateFnsUtils.formatDate(new Date(date), FORMAT_DATE_ACTIVITI) + 'T00:00:00.000Z'
}
getTodayDate() {
getTodayDate(): string {
return DateFnsUtils.formatDate(new Date(), FORMAT_DATE_ACTIVITI);
}