Merge branch 'develop' of github.com:HabitRPG/habitrpg into common-convert

Conflicts:
	bower.json
	public/manifest.json
	src/controllers/auth.js
This commit is contained in:
Blade Barringer
2015-02-05 11:20:40 -06:00
12 changed files with 397 additions and 36 deletions

View File

@@ -166,7 +166,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
}
matrix = [[env.t('date'), env.t('score')]];
_.each(history, function(obj) {
matrix.push([moment(obj.date).format('MM/DD/YY'), obj.value]);
matrix.push([moment(obj.date).format(User.user.preferences.dateFormat.toUpperCase().replace('YYYY','YY') ), obj.value]);
});
data = google.visualization.arrayToDataTable(matrix);
options = {