From 0bcc775944182808f8c0c80ea1cd52ab8c48fd59 Mon Sep 17 00:00:00 2001 From: LautaroCesso <59095036+LautaroCesso@users.noreply.github.com> Date: Sun, 29 Aug 2021 22:09:11 -0300 Subject: [PATCH] Delete date warning (#975) --- client/src/lib-app/search-tickets-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/lib-app/search-tickets-utils.js b/client/src/lib-app/search-tickets-utils.js index 6af023a0..ba654769 100644 --- a/client/src/lib-app/search-tickets-utils.js +++ b/client/src/lib-app/search-tickets-utils.js @@ -215,7 +215,7 @@ export default { let todayNight = new Date(); todayNight.setHours(23); todayNight.setMinutes(59); - console.warn('Date: ', date.getFullDate(todayNight)) + return DateTransformer.localDateToUTCNumericDate(JSON.stringify(date.getFullDate(todayNight))); }, getDefaultLocalStartDate() {