yqlboss opened a new pull request #427:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/427


   Fix the time display error of log query.
   **Before**:
   `Vue.filter(
     'dateformat',
     (dataStr: any, pattern: string = 'YYYY-MM-DD HH:mm:ss') =>
     moment(dataStr).format(pattern),`
   its potential problem is that it is not converted to a digital timestamp,so 
I added `Number.parseInt(dataStr)` to it to solve the conversion problem.
   **After modification**
   `Vue.filter('dateformat', (dataStr: any, pattern: string = 'YYYY-MM-DD 
HH:mm:ss') =>
     moment(Number.parseInt(dataStr)).format(pattern),
   );`


----------------------------------------------------------------
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