O-ll-O opened a new issue #351:
URL: https://github.com/apache/skywalking-rocketbot-ui/issues/351


   I found a problem in the queryOAPTimeInfo function of the file named 
localtime.ts,It is recommended to modify:
   export const queryOAPTimeInfo = async () => {
     let utc = window.localStorage.getItem('utc');
     if (!utc ) {
       const res: AxiosResponse = await 
graph.query('queryOAPTimeInfo').params({});
       if (!res.data || !res.data.data || !res.data.data.getTimeInfo || 
!res.data.data.getTimeInfo.timezone) {
         setTimezoneOffset();
         return;
       }
       utc = res.data.data.getTimeInfo.timezone / 100 + '';
       window.localStorage.setItem('utc', utc);
     }
   };
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to