Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Add default fuzzer for time.Time #6

Closed
lavalamp opened this issue Aug 13, 2014 · 1 comment
Closed

Add default fuzzer for time.Time #6

lavalamp opened this issue Aug 13, 2014 · 1 comment

Comments

@lavalamp
Copy link
Contributor

Would be nice to get random time values by default.

@lavalamp
Copy link
Contributor Author

Now this just needs to randomize the timezone, but it's a bit tricky.

Quoting @pmorie:

... it will take a little more thought on how to do safely, since not all time zones may be loaded on all systems. See:

http://golang.org/pkg/time/#LoadLocation
http://golang.org/src/pkg/time/zoneinfo.go?s=7499:7548#L263

@lavalamp lavalamp closed this as completed Mar 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant