diff --git a/src/js/Rickshaw.Fixtures.Time.Local.js b/src/js/Rickshaw.Fixtures.Time.Local.js index f377ccb1..ea6f25b6 100644 --- a/src/js/Rickshaw.Fixtures.Time.Local.js +++ b/src/js/Rickshaw.Fixtures.Time.Local.js @@ -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, diff --git a/src/js/Rickshaw.Fixtures.Time.js b/src/js/Rickshaw.Fixtures.Time.js index d2c5e216..8bf2fc52 100644 --- a/src/js/Rickshaw.Fixtures.Time.js +++ b/src/js/Rickshaw.Fixtures.Time.js @@ -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,