Update BMC time to use redfish

Change getBmcTime call from D-Bus to redfish endpoint
in GlobalStore module.

Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I3c459d6bf40a778d5e03d112c12e45ad8554c141
diff --git a/src/store/modules/GlobalStore.js b/src/store/modules/GlobalStore.js
index 6511a45..057f515 100644
--- a/src/store/modules/GlobalStore.js
+++ b/src/store/modules/GlobalStore.js
@@ -51,11 +51,10 @@
     },
     getBmcTime({ commit }) {
       api
-        .get('/xyz/openbmc_project/time/bmc')
+        .get('/redfish/v1/Managers/bmc')
         .then(response => {
-          // bmcTime is stored in microseconds, convert to milliseconds
-          const bmcEpochTime = response.data.data.Elapsed / 1000;
-          const date = new Date(bmcEpochTime);
+          const bmcDateTime = response.data.DateTime;
+          const date = new Date(bmcDateTime);
           commit('setBmcTime', date);
         })
         .catch(error => console.log(error));