Skip to content

Commit

Permalink
Fix: datetime tick storage (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
softlion authored and glennawatson committed Feb 1, 2019
1 parent 89543b0 commit 93873df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Akavache.Core/JsonDateTimeTickConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public override void WriteJson(JsonWriter writer, object value, JsonSerializer s
{
if (value is DateTime dateTime)
{
serializer.Serialize(writer, dateTime.Ticks);
serializer.Serialize(writer, dateTime.ToUniversalTime().Ticks);
}
}
}
Expand Down

0 comments on commit 93873df

Please sign in to comment.