variable %date is not working with gantt

0 votes
asked Jun 29, 2022 in Bug by emalware (280 points)
I'm trying to add a task that occurs the same sade the gantt is genrated

[Test] happens %date

why this does not work?

1 Answer

+1 vote
answered Jun 29, 2022 by The-Lu (64,760 points)

Hello E.,

For that, you must to mention the date format, e.g. "YYYY-MM-dd", as:

@startgantt
title %date()
Project starts %date("YYYY-MM-dd")

[Test] happens %date("YYYY-MM-dd")
@endgantt

See doc. here:

If that can help,
Regards.

...