Closed mnifakram closed 3 years ago
Hey @mnifakram
Thanks for your question.
The only options available for controlling how DateTime values are generated are:
Nick.
Thank you so much @nickdodd79, the easiest way that I found for the moment is to configure Date class in Bogus
Date.SystemClock = () => DateTime.SpecifyKind(DateTime.UtcNow, DateTimeKind.Unspecified);
Hello,
Is there any way that you can customize Generation of all
DateTime
properties across all models? In my case I want to set the time zone to UniversalTime, I can also see the benefit of this if someone is using Noda.Thanks