diff --git a/static/script.js b/static/script.js index 99a363b..336bfff 100644 --- a/static/script.js +++ b/static/script.js @@ -14,7 +14,7 @@ function getDate(){ var day = d.getDate(); var month = 1+d.getMonth(); if (month < 10) { month = "0" + month; } - var year = d.getFullYear(); + var year = d.getFullYear().toString().substr(-2); return year+"-"+month+"-"+day+" "+hr+":"+min } diff --git a/templates/show_shop.html b/templates/show_shop.html index ccc4d12..83e733d 100644 --- a/templates/show_shop.html +++ b/templates/show_shop.html @@ -27,8 +27,9 @@