Developer Tools - Demo Template - Fault

One of the default demo template examples shows a bug…Or I am going crazy…

The code in the Demo

{% if is_state("sun.sun", "above_horizon") -%}
  The sun rose {{ relative_time(states.sun.sun.last_changed) }} ago.
{%- else -%}
  The sun will rise at {{ as_timestamp(strptime(state_attr("sun.sun", "next_rising"), "")) | timestamp_local }}.
{%- endif %}

I added the following to show clarity:

Sun rose at: 
 {{states.sun.sun.last_changed}}
Time now is: 
 {{ now() }}

This is what is displayed:

The sun rose 56 minutes ago.

Sun rose at: 
 2021-01-02 05:13:19.119782+00:00
Time now is: 
 2021-01-02 17:09:42.009895+11:00