diff --git a/docs/syntax/gantt.md b/docs/syntax/gantt.md index b5ba326c5..b20b6b776 100644 --- a/docs/syntax/gantt.md +++ b/docs/syntax/gantt.md @@ -201,7 +201,7 @@ More info in: https://momentjs.com/docs/#/parsing/string-format/ ### Output date format on the axis -The default output date format is YYYY-MM-DD. You can define your custom `axisFormat`, like `2020-Q1` for the first quarter of the year 2020. +The default output date format is `YYYY-MM-DD`. You can define your custom `axisFormat`, like `2020-Q1` for the first quarter of the year 2020. axisFormat %Y-%m-%d @@ -232,7 +232,7 @@ The following formatting strings are supported: %Z - time zone offset, such as "-0700". %% - a literal "%" character. -More info in: https://github.com/mbostock/d3/wiki/Time-Formatting +More info in: ### Axis ticks diff --git a/packages/mermaid/src/docs/syntax/gantt.md b/packages/mermaid/src/docs/syntax/gantt.md index 7025f7035..c9301bfee 100644 --- a/packages/mermaid/src/docs/syntax/gantt.md +++ b/packages/mermaid/src/docs/syntax/gantt.md @@ -137,7 +137,7 @@ More info in: https://momentjs.com/docs/#/parsing/string-format/ ### Output date format on the axis -The default output date format is YYYY-MM-DD. You can define your custom `axisFormat`, like `2020-Q1` for the first quarter of the year 2020. +The default output date format is `YYYY-MM-DD`. You can define your custom `axisFormat`, like `2020-Q1` for the first quarter of the year 2020. ``` axisFormat %Y-%m-%d @@ -172,7 +172,7 @@ The following formatting strings are supported: %% - a literal "%" character. ``` -More info in: https://github.com/mbostock/d3/wiki/Time-Formatting +More info in: [https://github.com/d3/d3-time-format/tree/v4.0.0#locale_format](https://github.com/d3/d3-time-format/tree/v4.0.0#locale_format) ### Axis ticks