Skip to content

Commit

Permalink
date formatting change on day
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Nov 6, 2014
1 parent a240899 commit 3512eab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/Rickshaw.Fixtures.Time.Local.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Rickshaw.Fixtures.Time.Local = function() {
}, {
name: 'day',
seconds: 86400,
formatter: function(d) { return d.getDate() }
formatter: function(d) { return self.formatDate(d) }
}, {
name: '6 hour',
seconds: 3600 * 6,
Expand Down
2 changes: 1 addition & 1 deletion src/js/Rickshaw.Fixtures.Time.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Rickshaw.Fixtures.Time = function() {
}, {
name: 'day',
seconds: 86400,
formatter: function(d) { return d.getUTCDate() }
formatter: function(d) { return self.formatDate(d) }
}, {
name: '6 hour',
seconds: 3600 * 6,
Expand Down

0 comments on commit 3512eab

Please sign in to comment.