Search code examples
xamarin.formsakavache

Summer time not persisted


If I put a summer time date into the cache then it comes out without the summer time applied.

e.g. 14:00+1 (15:00) comes back out of the cache as 14:00.

In non-summer time, there's no problem.

I've raised an issue on GitHub, which has been unanswered in a week.

Any ideas?


Solution

  • I fixed this with...

    BlobCache.Secure.ForcedDateTimeKind = DateTimeKind.Local;
    

    https://github.com/reactiveui/Akavache/issues/492