summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-07-15 14:21:04 +0300
committerYuval Adam <yuval@y3xz.com>2015-07-15 14:21:04 +0300
commitc5af51877b2649a3fa83dbd79a66550e2e1704ec (patch)
treed387307f641ce1135e736c8edf041326a42132dc /client
parentdf83acb48db06303f0cb8038219c77a609557f5b (diff)
Fix date print bug
Diffstat (limited to 'client')
-rw-r--r--client/button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/button.js b/client/button.js
index 476fc04..e02d08f 100644
--- a/client/button.js
+++ b/client/button.js
@@ -299,7 +299,7 @@ Template.photos.events({
},
'click button.share-print': function (event) {
var date = Session.get('date');
- var printStr = date.month < 10 ? '0' + date.month : date.month;
+ var printStr = date.month;
printStr += date.year + '|';
var d1 = Session.get('dominant1hex');