mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
Fixes example for date formating in README
This commit is contained in:
@@ -312,8 +312,8 @@ Use [strftime](https://docs.python.org/3/library/datetime.html#strftime-strptime
|
||||
|
||||
```yaml
|
||||
# returns "20.03.2020"
|
||||
value_template: '{{value.date.strftime("%m/%d/%Y")}}'
|
||||
date_template: '{{value.date.strftime("%m/%d/%Y")}}'
|
||||
value_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
||||
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
|
||||
|
||||
# returns "03/20/2020"
|
||||
value_template: '{{value.date.strftime("%m/%d/%Y")}}'
|
||||
|
||||
Reference in New Issue
Block a user