Is it possible to just show the year of release for a game?
-
Pi Model or other hardware: B+
Power Supply used: Original Pi PSU
RetroPie Version Used: 4.5.1
Built From: retropie-4.5.1 -rpi2_rpi3.img.gz
USB Devices connected: PS3 controller & usb keyboard
Controller used: PS3 controllerHi, I like the carbon theme but wondered is there a way of editing the theme to just show the 4 digits of the year for a games release date rather than the full date? Without editing every entry for each games in a game list?
For example if a date was 01/01/1986, just showing the 1986 rather that the full date.
Thanks!
-
Suer, look for the tag <datetime name="md_releasedate">; within this you can add: <format>%Y</format>
These are the available options as per https://github.com/RetroPie/EmulationStation/blob/master/THEMES.md:
format - type: STRING. Specifies format for rendering datetime.
%Y: The year, including the century (1900)
%m: The month number [01,12]
%d: The day of the month [01,31]
%H: The hour (24-hour clock) [00,23]
%M: The minute [00,59]
%S: The second [00,59] -
@smartazz104 Thank you! A lot of the dates for games that I've scraped state the 1st of January because I think the exact date is unknown. I shall have a go at adjusting the theme.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.