diff --git a/docs/gantt.md b/docs/gantt.md index db50a8f2a..eb3dfff29 100755 --- a/docs/gantt.md +++ b/docs/gantt.md @@ -15,18 +15,6 @@ gantt Task in sec :2014-01-12 , 12d another task : 24d ``` -```mermaid -gantt - title A Gantt Diagram - dateFormat YYYY-MM-DD - section Section - A task :a1, 2014-01-01, 30d - Another task :after a1 , 20d - section Another - Task in sec :2014-01-12 , 12d - another task : 24d -``` - ## Syntax @@ -106,7 +94,11 @@ Tbd ### Date format -The default date format is YYYY-MM-DD +The default date format is YYYY-MM-DD. You can define your ``dateFormat``. For example: + +``` +dateFormat YYYY MM DD +``` ### Diagram definition