diff --git a/e2e/paths/client-module/13_log.spec.js b/e2e/paths/client-module/13_log.spec.js index 54303599f..aba23ab72 100644 --- a/e2e/paths/client-module/13_log.spec.js +++ b/e2e/paths/client-module/13_log.spec.js @@ -58,8 +58,8 @@ describe('Client log path', () => { if (month.toString().length < 2) month = '0' + month; if (day.toString().length < 2) day = `0${day}`; - if (hours.toString().length < 2) month = '0' + hours; - if (minutes.toString().length < 2) day = `0${minutes}`; + if (hours.toString().length < 2) hours = '0' + hours; + if (minutes.toString().length < 2) minutes = `0${minutes}`; let today = [day, month, year].join('/'); let time = [hours, minutes].join(':');