Hi @fabricecaruso i hope you are doing well... a little issue here:
The "last played" counter always shows 16 hours when the game has just been launched.
The line of code in the theme is:
<text>'' + '${theme-lastplayedLabel}' + '... ' + {game:lastplayed}.elapsed().proper() + ''</text>
UPDATE: I've noticed that the data it shows is the hours since the start of the day... For example, if I run the game at 8pm (20.00h), it shows: 20 hours ago. If I run it at 4pm it shows 16 hours ago... etc.
Concerned project
Batocera
Distribution Version
Batocera V40 2024/06/28
Architecture
Steam Deck
Issue description
Hi @fabricecaruso i hope you are doing well... a little issue here: The "last played" counter always shows 16 hours when the game has just been launched.
The line of code in the theme is:
<text>'' + '${theme-lastplayedLabel}' + '... ' + {game:lastplayed}.elapsed().proper() + ''</text>
https://github.com/pajarorrojo/es-theme-PlayStation-X/blob/7ab34f3270c7e6368172b4a4c00d7ee17e8de904/_theme_views/top-info.xml#L290
Thanks!
Logs and data
No response