reversed mm-yyyy to yyyy-mm as per the desc (#25422)

This commit is contained in:
ckuhtz 2022-12-28 02:00:34 -08:00 committed by GitHub
parent 554f86528e
commit 9e4b8503a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ You may consider some modifications in the subdirectory and the filename to suit
```yaml
data:
url: "{{ state_attr('camera.front_door', 'video_url') }}"
subdir: "{{ state_attr('camera.front_door', 'friendly_name') }}/{{ now().strftime('%m.%Y') }}"
subdir: "{{ state_attr('camera.front_door', 'friendly_name') }}/{{ now().strftime('%Y.%m') }}"
filename: "{{ now().strftime('%Y-%m-%d-at-%H-%M-%S') }}.mp4"
```
{% endraw %}