Skip to content

Commit

Permalink
fix(Visualize): Fix year-long date format case
Browse files Browse the repository at this point in the history
Fixes #267
  • Loading branch information
atruskie committed Jun 21, 2016
1 parent e2c4b1c commit d4878ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/d3Bindings/widgets/customMultiDateFormat.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ angular
return d.getDay() && d.getDate() !== 1;
}],
["%b-%d", function (d) {
return d.getDate();
return d.getDate() && d.getMonth() !== 0;
}],
["%Y-%b", function (d) {
return d.getMonth();
Expand Down

0 comments on commit d4878ea

Please sign in to comment.