Open pajarorrojo opened 4 months ago
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.
I agree that we're dealing with a bug, I have exactly the same problem.
Mais c'est un nouveau bug ? de la v40 ou tu ne l'avais jamais vue avant ? J'avoue je n'ai pas fais attention, mais si c'est le cas c'est moche ... de mémoire avant ça fonctionnait pour moi. Genre en v39 ...
@Darknior yes it's a new bug, before it worked fine
@Snapouille @Darknior This is a bug since v40... note that my first post is from July. Maybe not many people have noticed because this happens with the new variable {game:lastplayed} and not with the old md_lastplayed label name. Not many themes are updated with the new bindings variables.
Technically, its a bug since bindings have been enabled, its just that most themes aren’t using them yet
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