From 37b51d09ac21b92b29e73d1c6b3b09c03cccced7 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sun, 14 Jun 2015 19:59:58 +0300 Subject: Date dash separator --- client/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/button.js b/client/button.js index 786091d..357faa9 100644 --- a/client/button.js +++ b/client/button.js @@ -66,7 +66,7 @@ Template.photos.helpers({ Template.photo.helpers({ date: function () { var d = new Date(parseInt(this.created_time) * 1000); - return d.getDate() + '/' + (d.getMonth() + 1) + '/' + d.getFullYear(); + return d.getDate() + '-' + (d.getMonth() + 1) + '-' + d.getFullYear(); }, proxy: function (url) { return url.replace('https://scontent.cdninstagram.com', '/imgproxy?url=') -- cgit v1.3.1