You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case requires a global setting to not use utc. Its only two or three
places in the npoco codebase that I changed to fix this for me. I think
adding a global static boolean DateTimeAsUTC which defaults to True and is
read on those places should fix it. Without breaking anything I would
guess. Is there a logical place for this global setting?
On Tue, Mar 22, 2022, 05:34 Adam Schroder ***@***.***> wrote:
Yeah, this seems like a good feature. Just need to think about how to
implement this without breaking anyone and allowing the most flexibility.
Ideally globally you want to be able to UTC, but to be overridden at the
property.
—
Reply to this email directly, view it on GitHub
<#655 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5YHTWLBHHOWWC6LIHLYCLVBFEWVANCNFSM5QMQQFRA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
There are two places where NPoco forces UTC to be on. I am now using a modified fork because of this. Which IMHO should not be necessary, right?
I cannot switch to UTC with 200+ tables and couple of billion rows. I would love to, it's just not happening.
Is it possible to introduce a global static switch somewhere? These two places are the culprits as far as I can tell;
public sealed class JSONParameters
{ ......
public bool UseUTCDateTime = true;
public PocoColumn()
{
ForceToUtc = true;
The text was updated successfully, but these errors were encountered: