You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/08/03 07:16:32 UTC

[GitHub] [echarts] leavest commented on issue #15426: 当时间跨度比较小的时候,时间坐标轴显示有bug

leavest commented on issue #15426:
URL: https://github.com/apache/echarts/issues/15426#issuecomment-891599016


   ![image](https://user-images.githubusercontent.com/30454841/127972962-2e34cf46-0771-4e75-873a-147d0cd42a9c.png)
   It doesn't completely solve the bug.
   see milliseconds. It shoud be 000 but 020 and 040 .
   
   in source,
   https://github.com/apache/echarts/blob/956347d909279c5e6b4a38ffc30b0fe3384690c6/src/util/time.ts#L320
   ```
   export function millisecondsGetterName(isUTC: boolean) {
       return isUTC ? 'getUTCSeconds' : 'getSeconds';
   }
   ```
   use seconds as milliseconds. it's a bug or a feature?
   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org