Fix: Variable date_format missing
Moving the variable definition back to the root.
This commit is contained in:
@@ -2349,6 +2349,7 @@ variables:
|
||||
##### GENERAL #####
|
||||
blueprint_version: "3.2.3"
|
||||
language: !input "language"
|
||||
date_format: !input "date_format"
|
||||
time_format: !input "time_format"
|
||||
time: "{{ as_timestamp(now()) | timestamp_custom(time_format) }}"
|
||||
meridiem: "{{ as_timestamp(now()) | timestamp_custom('%p') if time_format == '%-I:%M' else '' }}"
|
||||
@@ -3775,9 +3776,6 @@ action:
|
||||
continue_on_error: true
|
||||
##### NSPanel Date #####
|
||||
### DATE Font Color ###
|
||||
- &variables-date_format
|
||||
variables:
|
||||
date_format: !input "date_format"
|
||||
- *delay-default
|
||||
- service: "{{ nextion.commands.font_color }}"
|
||||
data:
|
||||
@@ -4880,7 +4878,6 @@ action:
|
||||
- *delay-default
|
||||
|
||||
##### Display date (long) #####
|
||||
- *variables-date_format
|
||||
- service: "{{ nextion.commands.text_printf }}"
|
||||
data:
|
||||
component: "{{ page_name }}.date"
|
||||
|
||||
Reference in New Issue
Block a user