You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mermaid.js should add support for defining exclusions, in multiple lines.
currently, if we have to exclude holidays, and weekends, we need to have a single line statement. (e.g. spring season in Denmark)
dateFormat DD-MM-YYYY
excludes weekends, 10-02-2025 11-02-2025 12-02-2025 13-02-2025 14-02-2025, 17-04-2025 18-04-2025 20-04-2025 21-04-2025, 01-05-2025, 29-05-2025, 05-06-2025, 08-06-2025 09-06-2025
however that is impossible for anyone to read, and it would be much better if we could split it up into multiple statements, that could be commented
dateFormat DD-MM-YYYY
excludes weekends,
Proposal
Mermaid.js should add support for defining exclusions, in multiple lines.
currently, if we have to exclude holidays, and weekends, we need to have a single line statement. (e.g. spring season in Denmark)
dateFormat DD-MM-YYYY
excludes weekends, 10-02-2025 11-02-2025 12-02-2025 13-02-2025 14-02-2025, 17-04-2025 18-04-2025 20-04-2025 21-04-2025, 01-05-2025, 29-05-2025, 05-06-2025, 08-06-2025 09-06-2025
however that is impossible for anyone to read, and it would be much better if we could split it up into multiple statements, that could be commented
dateFormat DD-MM-YYYY
excludes weekends,
%%week 7 is winter break
excludes 10-02-2025 11-02-2025 12-02-2025 13-02-2025 14-02-2025
%%no one works in easter
excludes 17-04-2025 18-04-2025 20-04-2025 21-04-2025
%%workers holdiday 1 maj
01-05-2025
...
the functionality is simple, all exclusion statements are to be concatenated.
Example
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: