Api reference added.

This commit is contained in:
Nedyalko Nikolov
2015-04-17 16:00:17 +03:00
parent ab7b526e93
commit 593fdb4826
2 changed files with 20 additions and 6 deletions

View File

@@ -80,9 +80,9 @@ var calculateInSampleSize = function (imageWidth, imageHeight, reqWidth, reqHeig
var createDateTimeStamp = function() {
var result = "";
var date = new Date();
result = date.getDate().toString() +
(date.getMonth() + 1).toString() +
var date = new Date(2015, 3, 3);
result = (date.getDate() < 10 ? "0" + date.getDate().toString() : date.getDate().toString())+
((date.getMonth() + 1) < 10 ? "0" + (date.getMonth() + 1).toString() : (date.getMonth() + 1).toString()) +
date.getFullYear().toString() +
date.getHours().toString() +
date.getMinutes().toString() +