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

feat: language parameter support array #117

Closed
wants to merge 1 commit into from
Closed

feat: language parameter support array #117

wants to merge 1 commit into from

Conversation

cipchk
Copy link

@cipchk cipchk commented Jan 14, 2019

like this:

new Gantt(".gantt-target", tasks, {
    language: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月',
      '十月', '十一月', '十二月' ]
})

Related:

like this:

```js
new Gantt(".gantt-target", tasks, {
    language: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月',
      '十月', '十一月', '十二月' ]
})
```

Related:

- #116
- #109
@joaquinaraujo
Copy link

Don't work for me :c
image

@netchampfaris
Copy link
Collaborator

@cipchk Hi, if we are adding this option, it should be named month_names.

new Gantt(".gantt-target", tasks, {
    month_names: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月',
      '十月', '十一月', '十二月' ]
})

@cipchk cipchk closed this Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants