Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 gantt demo diagrams fail in Firefox 105.0.3 (64-bit) #3655

Closed
weedySeaDragon opened this issue Oct 12, 2022 · 1 comment · Fixed by #3688
Closed

2 gantt demo diagrams fail in Firefox 105.0.3 (64-bit) #3655

weedySeaDragon opened this issue Oct 12, 2022 · 1 comment · Fixed by #3688
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@weedySeaDragon
Copy link
Contributor

Describe the bug
2 of the diagrams in demos/gantt.html are now throwing Syntax errors when running using a local dev server (e.g. pnpm dev) and Firefox 105.0.3 (64-bit) [macOs] (just released Oct 7).

The diagrams work fine in Chrome and on the Mermaid live editor.

To Reproduce
Steps to reproduce the behavior:

  1. Run a dev server (e.g. pnpm dev)
  2. Open the gantt demo page (http://localhost:9000/gantt.html) in that version of Firefox.

The charts titled "Hide today marker" and "Style today marker" are throwing the errors.

Expected behavior
These worked before in prior versions of Firefox.

Desktop (please complete the following information):

  • OS: macOS
  • Browser Firefox
  • Version 105.0.3 (64-bit)

Mermaid develop branch v. 9.2.0-rc2

Additional context
Add any other context about the problem here.

This version of Firefox was released on Oct 7th, which explains why the diagrams worked up until recently. This is the first time I've viewed them since I updated to this version.

@weedySeaDragon weedySeaDragon added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Oct 12, 2022
@weedySeaDragon weedySeaDragon changed the title 2 gantt demo fail in Firefox 105.0.3 (64-bit) 2 gantt demo diagrams fail in Firefox 105.0.3 (64-bit) Oct 12, 2022
@isinek
Copy link
Contributor

isinek commented Oct 17, 2022

It seems that this can be solved by using dateFormat Z and value like -01:00.

isinek added a commit to isinek/mermaid that referenced this issue Oct 17, 2022
sidharthv96 added a commit that referenced this issue Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants