From 9e4b1f1f340686a1fe5f7107c2a47b2955b56f94 Mon Sep 17 00:00:00 2001 From: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:33:26 +0530 Subject: [PATCH] Updating for calendar API (#619) (#620) --- .../sunbird/calendar/service/CalendarBulkUploadServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/sunbird/calendar/service/CalendarBulkUploadServiceImpl.java b/src/main/java/org/sunbird/calendar/service/CalendarBulkUploadServiceImpl.java index 3c6865dcf..e7cabbd99 100644 --- a/src/main/java/org/sunbird/calendar/service/CalendarBulkUploadServiceImpl.java +++ b/src/main/java/org/sunbird/calendar/service/CalendarBulkUploadServiceImpl.java @@ -205,8 +205,8 @@ private void processBulkUpload(HashMap inputDataMap) throws IOEx int noOfSuccessfulRecords = 0; int failedRecordsCount = 0; String status = ""; + sdf.setTimeZone(TimeZone.getTimeZone("UTC")); try { - sdf.setTimeZone(TimeZone.getTimeZone("GMT+05:30")); file = new File(Constants.LOCAL_BASE_PATH + inputDataMap.get(Constants.FILE_NAME)); if (file.exists() && file.length() > 0) { fis = new FileInputStream(file);