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

DateTimeOffset auto-generator always generates zero offset #75

Open
cmeeren opened this issue Dec 14, 2022 · 0 comments
Open

DateTimeOffset auto-generator always generates zero offset #75

cmeeren opened this issue Dec 14, 2022 · 0 comments

Comments

@cmeeren
Copy link
Collaborator

cmeeren commented Dec 14, 2022

Just noticed (from static reading of the code) that the auto-generator seems to always generate DateTimeOffset values with zero offset:

|> AutoGenConfig.addGenerator (Gen.dateTime dateTimeRange |> Gen.map DateTimeOffset)

If that is the case, it is probably a good idea to generate various offsets. Perhaps using Gen.dateTimeOffset?

This is not an important issue for me, and I can't prioritize making a PR right now, but I wanted to mention it since I saw it.

@cmeeren cmeeren changed the title DateTimeOffset auto-generator always generates DateTimeOffset auto-generator always generates zero offset Dec 14, 2022
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