Skip to content
 
 

Latest commit

 

History

123 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gron

主要是修复时间不正确问题, 官方的版本提了pull request但是不修复.
The main thing is to fix the incorrect time problem, the official version mentions pull request but doesn't fix it.

func (as atSchedule) reset(t time.Time) time.Time {
	return time.Date(t.Year(), t.Month(), t.Day(), as.hh, as.mm, 0, 0, time.Local)  // 将time.UTC修改为time.Local. (Change time.UTC to time.Local.)
}

About

gron, Cron Jobs in Go.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages