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/06/02 12:17:17 UTC

[GitHub] [echarts] fuchunhui commented on issue #15037: calendar的range设置小于1000,会导致同一个实例的setOption方法无法执行。

fuchunhui commented on issue #15037:
URL: https://github.com/apache/echarts/issues/15037#issuecomment-852977902


   According to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Years), you must type year in four-digit to avoid Y2K, It represents years from 0000 to 9999.
   
   how to fix this issue, it depends on whether echarts should support it or not.
   
   perhaps some ways:
   1. using '0999' instead of  '999'.
   2. not support less than 1000.
   3. still 999, adjust /^\d{4}/ to /^\d{1,4}/, and fix error by two-digit year.
   
   


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