From b220718b96a432eb343489353e1d9bdb21e40b00 Mon Sep 17 00:00:00 2001 From: Steph <35910788+huynhicode@users.noreply.github.com> Date: Tue, 20 Dec 2022 09:37:42 -0800 Subject: [PATCH] Update packages/mermaid/src/docs/syntax/gantt.md Co-authored-by: Alois Klink --- packages/mermaid/src/docs/syntax/gantt.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mermaid/src/docs/syntax/gantt.md b/packages/mermaid/src/docs/syntax/gantt.md index 920869fba..b51b3ab5c 100644 --- a/packages/mermaid/src/docs/syntax/gantt.md +++ b/packages/mermaid/src/docs/syntax/gantt.md @@ -183,8 +183,8 @@ tickInterval 1day The pattern is: -```markdown -/^([1-9][0-9]\*)(minute|hour|day|week|month)$/ +```javascript +/^([1-9][0-9]*)(minute|hour|day|week|month)$/ ``` More info in: [https://github.com/d3/d3-time#interval_every](https://github.com/d3/d3-time#interval_every)