jenkins error
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
1e3b05a95d
commit
798147ea99
|
@ -135,6 +135,7 @@ module.exports = Self => {
|
||||||
function formatDate(date) {
|
function formatDate(date) {
|
||||||
let day = date.getDate();
|
let day = date.getDate();
|
||||||
if (day < 10) day = `0${day}`;
|
if (day < 10) day = `0${day}`;
|
||||||
|
|
||||||
let month = date.getMonth() + 1;
|
let month = date.getMonth() + 1;
|
||||||
if (month < 10) month = `0${month}`;
|
if (month < 10) month = `0${month}`;
|
||||||
let year = date.getFullYear();
|
let year = date.getFullYear();
|
||||||
|
|
Loading…
Reference in New Issue