Fix: icon color for out, in, pressed

Fix: make lib/util directory
Add: refresh browser if app goes wrong
This commit is contained in:
2018-12-15 23:46:48 +09:00
parent 3dd42ffe02
commit 9125e035b6
25 changed files with 237 additions and 79 deletions
+13
View File
@@ -0,0 +1,13 @@
function DateUtil() {
}
DateUtil.getYYYYMMDD = function(date) {
// return date.toISOString().slice(0,10);
return date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
}
DateUtil.getHHMMSS = function(date) {
return StringUtil.getNumberStartWithZero(date.getHours(), 2) + ":"
+ StringUtil.getNumberStartWithZero(date.getMinutes(), 2) + ":"
+ StringUtil.getNumberStartWithZero(date.getSeconds(), 2);
}