Z.ExtensionMethods icon indicating copy to clipboard operation
Z.ExtensionMethods copied to clipboard

DateTimeOffset should preserve offset

Open JProgrammer opened this issue 5 years ago • 1 comments

Currently the DateTimeOffset extension method has the unexpected behavior of changing the offset to match that of the current system timezone and does not just set the time as suggested by the name.

This change copies the offset to the new DateTimeOffset

JProgrammer avatar Sep 10 '19 00:09 JProgrammer

Hello @JProgrammer ,

Thank you for your pull request,

We will review it

Best Regards,

Jonathan


Performance Libraries context.BulkInsert(list, options => options.BatchSize = 1000); Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation Eval.Execute("x + y", new {x = 1, y = 2}); // return 3 C# Eval FunctionSQL Eval Function

JonathanMagnan avatar Sep 10 '19 02:09 JonathanMagnan