We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce2416c commit 0f1cda1Copy full SHA for 0f1cda1
src/js/app.js
@@ -55,8 +55,8 @@
55
app.filter('formatDate', ['$filter', function($filter) {
56
return function(input, limit) {
57
return input instanceof Date ?
58
- input.toISOString().substring(0, 19).replace('T', ' '):
59
- input.toString();
+ input.toISOString().substring(0, 19).replace('T', ' ') :
+ (input.toLocaleString || input.toString).apply(input);
60
};
61
}]);
62
0 commit comments