Summer time not persisted

100 views Asked by At

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?

1

There are 1 answers

0
Ian Warburton On BEST ANSWER

I fixed this with...

BlobCache.Secure.ForcedDateTimeKind = DateTimeKind.Local;

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