mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(dom) rm getTime
This commit is contained in:
parent
60e84ae172
commit
68a12b2f56
1 changed files with 0 additions and 18 deletions
|
|
@ -2083,24 +2083,6 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
|
||||
return lRet;
|
||||
};
|
||||
|
||||
/**
|
||||
* function gets time
|
||||
*/
|
||||
this.getTime = function() {
|
||||
var lRet,
|
||||
lDate = new Date(),
|
||||
lHours = lDate.getHours(),
|
||||
lMinutes = lDate.getMinutes(),
|
||||
lSeconds = lDate.getSeconds();
|
||||
|
||||
lMinutes = lMinutes < 10 ? '0' + lMinutes : lMinutes;
|
||||
lSeconds = lSeconds < 10 ? '0' + lSeconds : lSeconds;
|
||||
|
||||
lRet = lHours + ":" + lMinutes + ":" + lSeconds;
|
||||
|
||||
return lRet;
|
||||
};
|
||||
},
|
||||
|
||||
DOMTree = Util.extendProto(DOMTreeProto),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue