Maybe Team can considered to add the timestamp format to uptime so it will show in current language.
My template:
- platform: template
sensors:
custom_ha_last_boot:
friendly_name: HA ultimo riavvio
entity_id: sensor.uptime
device_class: timestamp
value_template: "{{ (as_timestamp(now()) - (states('sensor.ha_uptime') | float ) *60*60) | timestamp_custom('%Y-%m-%dT%H:%M', true) }}"
NB: Math formula is based on hours as unit_of_measurement for sensor_ha_uptime
and this is the result in UI:
Simone