This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch next in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/next by this push: new d395b4b fix(util/number): the `parseDate` function can not parse a date string like `2020-07-29 09:2:5`. new b45a188 Merge pull request #13044 from plainheart/chore-fix d395b4b is described below commit d395b4b3584d07e57b9f70852772427a424fec72 Author: plainheart <y...@all-my-life.cn> AuthorDate: Wed Jul 29 16:20:34 2020 +0800 fix(util/number): the `parseDate` function can not parse a date string like `2020-07-29 09:2:5`. --- src/util/number.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/number.ts b/src/util/number.ts index d1ec793..d303534 100644 --- a/src/util/number.ts +++ b/src/util/number.ts @@ -283,7 +283,7 @@ export function isRadianAroundZero(val: number): boolean { } // eslint-disable-next-line -const TIME_REG = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/; // jshint ignore:line +const TIME_REG = /^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/; // jshint ignore:line /** * @param value These values can be accepted: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org