diff options
| author | tomsmeding <tom.smeding@gmail.com> | 2016-09-29 23:05:27 +0200 |
|---|---|---|
| committer | tomsmeding <tom.smeding@gmail.com> | 2016-09-29 23:05:27 +0200 |
| commit | 931a8f951a032049eb896002a6546e43d91849b7 (patch) | |
| tree | 956b5c173bfc8eb701dcaaf37a5bc424072184e3 /modules/changes/changes.html | |
| parent | 2cf9f0bd7018a536061ea277df3158bc846fe241 (diff) | |
Fix dateformat month bug.......
Diffstat (limited to 'modules/changes/changes.html')
| -rw-r--r-- | modules/changes/changes.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/changes/changes.html b/modules/changes/changes.html index 5dbcc6d..07cc7f9 100644 --- a/modules/changes/changes.html +++ b/modules/changes/changes.html @@ -18,7 +18,7 @@ function pad(s,n,c){ } function dateformat(date){ - return date.getFullYear()+"/"+pad(date.getMonth(),2)+"/"+pad(date.getDate(),2)+" "+ + return date.getFullYear()+"/"+pad(date.getMonth()+1,2)+"/"+pad(date.getDate(),2)+" "+ pad(date.getHours(),2)+":"+pad(date.getMinutes(),2)+":"+pad(date.getSeconds(),2); } |
