Skip to content

Commit

Permalink
fix #2698
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jul 3, 2024
1 parent 3d8b5b2 commit c43725a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/modal/cron.human.insert.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
var hour = (date.getHours() < 10 ? '0' : '') + date.getHours()
var strdate = (date.getDate() < 10 ? '0' : '') + date.getDate()
var month = ((date.getMonth() + 1) < 10 ? '0' : '') + (date.getMonth() + 1)
var cron = minute + ' ' + hour + ' ' + strdate + ' ' + month + ' ' + date.getDay() + ' ' + date.getFullYear()
var cron = minute + ' ' + hour + ' ' + strdate + ' ' + month + ' * ' + date.getFullYear()
document.getElementById('mod_cron_span_cronResult').textContent = cron
}
})
Expand Down

0 comments on commit c43725a

Please sign in to comment.