fixes time generation function
This commit is contained in:
parent
a13bce4673
commit
fbfaa969b5
|
@ -45,7 +45,7 @@ function onLoadFromFileClick(){
|
||||||
function generateFileName(){
|
function generateFileName(){
|
||||||
var today = new Date();
|
var today = new Date();
|
||||||
var dd = '0' + today.getDate();
|
var dd = '0' + today.getDate();
|
||||||
var mm = '0' + today.getMonth() + 1;
|
var mm = '0' + (today.getMonth() + 1);
|
||||||
var yyyy = today.getFullYear();
|
var yyyy = today.getFullYear();
|
||||||
|
|
||||||
dd = dd.substr(-2);
|
dd = dd.substr(-2);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user