Fix logic of judging isWeek boolean in javascript

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>
Set schedule time's second to 0 for better precision

Signed-off-by: walteryang <walteryang47@users.noreply.github.com>