Closed Trzinka closed 2 years ago
Hi Trzinka,
I think the easiest, for now, would be to use a template sensor for this.
Example:
template:
- sensor:
- name: "Moon Next Rising"
state: "{{ as_timestamp(states('sensor.astroweather_moon_next_rising')) | timestamp_custom('%A %B %-d, %H:%M') }}"
icon: "mdi:calendar-clock"
Converts
2022-01-14 13:42:41
to
Friday January 14, 13:42
You can freely customize it to your liking.
Official documentation here: Time & Date
Thanks!
Attached is a translation into Slovenian.
I'm not entirely sure if it should be "si.json" or "sl.json"?
BR.
Robert
From: Markus Winkler @.> Sent: Thursday, January 13, 2022 8:09 PM To: mawinkler/astroweather @.> Cc: Robert Perič @.>; Author @.> Subject: Re: [mawinkler/astroweather] EU date (Issue #6)
Hi Trzinka,
I think the easiest, for now, would be to use a template sensor for this.
Example:
template:
Converts
2022-01-14 13:42:41
to
Friday January 14, 13:42
You can freely customize it to your liking.
Official documentation here: Time https://www.home-assistant.io/integrations/time_date/ & Date
- Reply to this email directly, view it on GitHub https://github.com/mawinkler/astroweather/issues/6#issuecomment-1012427642 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUNMBKJMVAKQA6JJY5VJQ3UV 4PNJANCNFSM5LWEKCZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&m t=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=u tm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJUNMBIWOZ4FO3XX6U2ZBI3UV4PNJA5CNFS M5LWEKCZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRMGW6Q .gif Message ID: @. @.> >
closed
Hi guys. I would like to ask you how to change the date display from US to EU standard?
Thanks.