Lacro59 / playnite-successstory-plugin

This plugin shows the game achievements in Playnite.
https://playnite.link
MIT License
184 stars 34 forks source link

The added or subtracted value results in an un-representable DateTime. Parameter name: value #496

Closed kristheb closed 2 months ago

kristheb commented 3 months ago

Describe the bug notification after playing games with retroachivements via retroarch "The added or subtracted value results in an un-representable DateTime."

12-08 21:25:44.379|ERROR|SuccessStory#Common:Error on GetCountByDay(): Error in load GetCountByDay(f432eb99-bd94-4da5-b5f5-5371d3594202)|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Services\SuccessStoryDatabase.cs|755 System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. Parameter name: value at System.DateTime.AddTicks(Int64 value) at System.DateTime.Add(Double value, Int32 scale) at System.DateTime.AddDays(Double value) at SuccessStory.Services.SuccessStoryDatabase.GetCountByDay(Nullable`1 GameID, Int32 limit, Boolean CutPeriod) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Services\SuccessStoryDatabase.cs:line 755

extensions.log