Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When outputting Entry, schedule, next, and previous showing default time #468

Open
rmwondolleck opened this issue Oct 4, 2022 · 0 comments

Comments

@rmwondolleck
Copy link

When passing the following for AddFunc:

_, err = reportingCron.AddFunc("0 7 * * *", func() { }
An entry is registered in cron, when printing out said entry you receive a default time:
logrus:
time="2022-10-04T13:35:31-07:00" level=info msg="{1 0xc0001e0700 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0x8bdd40 0x8bdd40}"
fmt.Println:
{1 0xc0001e0700 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0x8bdd40 0x8bdd40}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant