diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-14 19:59:58 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-14 19:59:58 +0300 |
| commit | 37b51d09ac21b92b29e73d1c6b3b09c03cccced7 (patch) | |
| tree | e0cb8079d0a4e7933fa399be662829ec457713d9 /client/button.js | |
| parent | 75ebab85f6fa02595fc3a982085d2ea25eac822c (diff) | |
Date dash separator
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 2 |
1 files changed, 1 insertions, 1 deletions
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=') |
