JosefNemec / PlayniteExtensions

Extensions for Playnite game launcher and manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steam Games with a last-played date prior to August 1st, 2011 show up with a date of January 1st, 1970

ZLoth opened this issue · comments

Bug Description

Because of the date being pulled from Steam into Playnite, any games that were played prior to August 1st, 2011 have a Last Played date of January 1, 1970. As Steam was first available in September 12, 2003, this is an impossible date. Instead of displaying January 1, 1970, can we have the date displayed as "A long time ago"?

Playnite DesktopApp 2023-07-22 22-03-22
Example screenshot

Playnite DesktopApp 2023-07-22 22-08-49
About Screen

To Reproduce

Have games in Steam with a last played date prior to August 1st, 2011.

Diagnostics ID

db6c5148-7960-4b53-8129-dbc5ee6e7c74

Screenshots

Playnite DesktopApp 2023-07-22 22-03-22
Example screenshot

Playnite DesktopApp 2023-07-22 22-08-49
About Screen

I'm guessing Steam just doesn't have that data prior to 2011 and returns Unix epoch time in if that happens.

That's correct. And it also occurs when you use Library → Configure Integrations → Advanced → Import Steam Last Played as well as the regular library import.