Remove bug in date and time settings page

 -In UTC preference the month was getting added by +1 and this code will
 resolve the issue.

Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I835f62b4151e7429e31d07ff3933f46242e08ec3
diff --git a/src/views/Configuration/DateTimeSettings/DateTimeSettings.vue b/src/views/Configuration/DateTimeSettings/DateTimeSettings.vue
index 3d9dc3b..e10c9ea 100644
--- a/src/views/Configuration/DateTimeSettings/DateTimeSettings.vue
+++ b/src/views/Configuration/DateTimeSettings/DateTimeSettings.vue
@@ -388,7 +388,9 @@
       const timeArray = time.split(':');
       let utcDate = Date.UTC(
         datesArray[0], // User input year
-        datesArray[1], // User input month
+        //UTC expects zero-index month value 0-11 (January-December)
+        //for reference https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/UTC#Parameters
+        parseInt(datesArray[1]) - 1, // User input month
         datesArray[2], // User input day
         timeArray[0], // User input hour
         timeArray[1] // User input minute