lots of nothing

This commit is contained in:
Trevor Squillario 2014-12-06 20:26:19 -05:00
parent 9b6044361f
commit e3fc948a77
9 changed files with 48 additions and 18 deletions

View file

@ -337,6 +337,13 @@ angular.module('jamstash.utils', ['jamstash.settings'])
}
}
};
this.reloadRoute = function (date) {
if (reload) {
$window.location.reload();
} else {
$route.reload();
}
};
this.parseDate = function (date) {
// input: "2012-09-23 20:00:00.0"
var months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];