mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-03 15:46:43 +02:00
Update gantt.md
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user