PlayniteExtensions icon indicating copy to clipboard operation
PlayniteExtensions copied to clipboard

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

Open ZLoth opened this issue 1 year ago • 2 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

ZLoth avatar Jul 23 '23 03:07 ZLoth

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

JosefNemec avatar Jul 23 '23 06:07 JosefNemec

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.

ZLoth avatar Jul 23 '23 10:07 ZLoth