Skip to content

Linq2Db uses wrong timezone when reading commit timestamps #2092

@myieye

Description

@myieye

Describe the bug
Since daylight savings started, I'm seeing commit timestamps from Linq2Db being 1hr in the past.

I'm pretty sure this is patched in EF Core here:
https://github.com/sillsdev/harmony/blob/0a9068e0cebd658280fd846ea8612692a20bf47f/src/SIL.Harmony/Db/EntityConfig/CommitEntityConfig.cs#L19

And there's a patch for it in Linq2Db here:
https://github.com/sillsdev/harmony/blob/0a9068e0cebd658280fd846ea8612692a20bf47f/src/SIL.Harmony.Linq2db/Linq2dbKernel.cs#L31
But We're not using that code in FieldWorks Lite. We maybe should be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions