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/03/11 08:20:30 UTC

[GitHub] [echarts] throrin19 commented on issue #14453: Possibility to set specific timezone for time axis

throrin19 commented on issue #14453:
URL: https://github.com/apache/echarts/issues/14453#issuecomment-796557165


   In our case, we set the formatter as function to convert date to specific timezone and, in the showed labels, we see that when the interval is one day or more, the corresponding day is based on UTC dates.
   
   In the following example, here is a 4-day display with dates displayed in GMT+1 :
   
   ![image](https://user-images.githubusercontent.com/1394778/110756683-cb018f80-824a-11eb-84fb-480ff39d3c07.png)
   
   Normally, and if I understand the logic of Echarts correctly, in this case the interval should make dates every 12 hours, i.e. 00:00 and 12:00 for each label. But here, we can see that it is the case, but on the UTC date


----------------------------------------------------------------
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:
users@infra.apache.org



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