Replies: 2 comments 1 reply
-
You are not alone ... same problem here. :-( |
Beta Was this translation helpful? Give feedback.
0 replies
-
The way to fix this is by using 'axisFormat' in the code. as seen below:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Mermaid Team,
I am encountering an issue with setting a custom date format in Mermaid Gantt charts. Despite specifying the date format as
DD-MM-YYYY
using thedateFormat
directive, the chart still displays dates in theYYYY-MM-DD
format. I am aiming for a day-month-year format but it doesn't seem to take effect.Here's a snippet of my code for reference:
Despite this configuration, the dates in the Gantt chart are still displayed as
YYYY-MM-DD
. Is this a known issue, or am I missing something in the configuration? Any guidance or workaround to achieve theDD-MM-YYYY
format would be greatly appreciated.Thank you for your assistance and for the great work on Mermaid!
Beta Was this translation helpful? Give feedback.
All reactions