Skip to content

Commit

Permalink
Week options missing from graph2d + appropriate updated docs. (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
brocktimus authored and yotamberk committed Dec 21, 2019
1 parent e9d1acd commit 20e8eaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/graph2d/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,7 @@ <h3 id="timelineOptions">Timeline Options</h3>
hour: 'HH:mm',
weekday: 'ddd D',
day: 'D',
week: 'w',
month: 'MMM',
year: 'YYYY'
},
Expand All @@ -876,6 +877,7 @@ <h3 id="timelineOptions">Timeline Options</h3>
hour: 'ddd D MMMM',
weekday: 'MMMM YYYY',
day: 'MMMM YYYY',
week: 'MMMM YYYY',
month: 'YYYY',
year: ''
}
Expand Down
4 changes: 4 additions & 0 deletions lib/timeline/optionsGraph2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ let allOptions = {
hour: {string,'undefined': 'undefined'},
weekday: {string,'undefined': 'undefined'},
day: {string,'undefined': 'undefined'},
week: {string,'undefined': 'undefined'},
month: {string,'undefined': 'undefined'},
quarter: {string,'undefined': 'undefined'},
year: {string,'undefined': 'undefined'},
Expand All @@ -124,6 +125,7 @@ let allOptions = {
hour: {string,'undefined': 'undefined'},
weekday: {string,'undefined': 'undefined'},
day: {string,'undefined': 'undefined'},
week: {string,'undefined': 'undefined'},
month: {string,'undefined': 'undefined'},
quarter: {string,'undefined': 'undefined'},
year: {string,'undefined': 'undefined'},
Expand Down Expand Up @@ -239,6 +241,7 @@ let configureOptions = {
hour: 'HH:mm',
weekday: 'ddd D',
day: 'D',
week: 'w',
month: 'MMM',
quarter: '[Q]Q',
year: 'YYYY'
Expand All @@ -250,6 +253,7 @@ let configureOptions = {
hour: 'ddd D MMMM',
weekday: 'MMMM YYYY',
day: 'MMMM YYYY',
week: 'MMMM YYYY',
month: 'YYYY',
quarter: 'YYYY',
year: ''
Expand Down

0 comments on commit 20e8eaf

Please sign in to comment.