Please provide dates in Gantt diagrams

+1 vote
asked Feb 24, 2017 in Closed feature request by jhannes (310 points)

I would like to be able to reference dates in Gantt diagrams. Example syntax:

[Prototype design] starts at [2017/08/01]

(Interesting aside: Mermaid supports Gantt diagrams as well: https://knsv.github.io/mermaid/#gant-diagrams7. The syntax in PlantUML looks like it will be much better, though)

1 Answer

0 votes
answered Feb 24, 2017 by plantuml (160,280 points)
selected Mar 23 by Anthony-Gaudino
 
Best answer

Many thanks for your suggestion!

In last release (V8057) you can now define something like:

@startuml
Project starts the 20th of september 2017
[Prototype design] as [TASK1] lasts 13 days
[TASK1] is colored in Lavender/LightBlue
[Prototype completed] happens at [TASK1]'s end
@enduml

We have added support to ISO 8601 standard.
You can also shorten month name to the 3 first characters.

So you can now have:

Project starts the 2017/9/20
Project starts on the 2017-9-20
Project starts the 20th of sep 2017

We do not support "september the 20th, 2017" yet but this will be added.

Many things remain to be done (for example, possibility to close some days like Saturday, Sunday or specific holidays...) This will be added shortly. Stay tuned :-)

About syntax, it's not that easy to find a simple one. Several tries are usually needed to find better ideas.

So do not hesitate to play with our proposal and to make suggestions: nothing is fixed right now, so you can help here!

Thanks again!

commented Apr 10, 2017 by anonymous
reshown Mar 23 by Anthony-Gaudino
@plantuml It´s this function working now? because I try to add this code but appear syntax error:

Project starts the 20th of september 2017
[Prototype design] as [TASK1] lasts 13 days
[TASK1] is colored in Lavender/LightBlue
[Prototype completed] happens at [TASK1]'s end

I have only this error when I want to add a specific month
...