Commit a04377fb authored by Paul Asmuth's avatar Paul Asmuth
Browse files

fixed rickshaw date formatting

parent 60703d8b
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -852,7 +852,12 @@ Rickshaw.Fixtures.Time = function() {
	};

	this.formatDate = function(d) {
		return d.toLocaleString().match(/, (\w+ \w+ \w+)/)[1];
		var exp = d.toLocaleString().match(/^(\w+ \w+ \w+)/);

    if (exp)
      return exp[1];

    return 0;
	};

	this.formatTime = function(d) {