@ttmetro wrote:
How do I format the
last_changed
attribute of a state in local time? This code outputs the date as UTC:{{ states.input_text.last_activity.last_changed.strftime('%H:%M %Y-%m-%d') }}
Posts: 3
Participants: 2
@ttmetro wrote:
How do I format the
last_changed
attribute of a state in local time? This code outputs the date as UTC:{{ states.input_text.last_activity.last_changed.strftime('%H:%M %Y-%m-%d') }}
Posts: 3
Participants: 2