diff --git a/responses/ar/HassGetCurrentTime.yaml b/responses/ar/HassGetCurrentTime.yaml index a38d102e71..69ecf7f89a 100644 --- a/responses/ar/HassGetCurrentTime.yaml +++ b/responses/ar/HassGetCurrentTime.yaml @@ -5,7 +5,7 @@ responses: default: > {% set minute_str = '{0:02d}'.format(slots.time.minute) %} - {% if slots.time.hour <= 12: %} + {% if slots.time.hour < 12: %} {{ slots.time.hour }}:{{ minute_str }} صباحا {% else: %} {{ slots.time.hour - 12 }}:{{ minute_str }} مساءا diff --git a/responses/en/HassGetCurrentTime.yaml b/responses/en/HassGetCurrentTime.yaml index 4207c74a16..3aac0d7cba 100644 --- a/responses/en/HassGetCurrentTime.yaml +++ b/responses/en/HassGetCurrentTime.yaml @@ -5,7 +5,7 @@ responses: default: > {% set minute_str = '{0:02d}'.format(slots.time.minute) %} - {% if slots.time.hour <= 12: %} + {% if slots.time.hour < 12: %} {{ slots.time.hour }}:{{ minute_str }} AM {% else: %} {{ slots.time.hour - 12 }}:{{ minute_str }} PM diff --git a/responses/he/HassGetCurrentTime.yaml b/responses/he/HassGetCurrentTime.yaml index 61f33109b4..beb995f687 100644 --- a/responses/he/HassGetCurrentTime.yaml +++ b/responses/he/HassGetCurrentTime.yaml @@ -5,7 +5,7 @@ responses: default: > {% set minute_str = '{0:02d}'.format(slots.time.minute) %} - {% if slots.time.hour <= 12: %} + {% if slots.time.hour < 12: %} {{ slots.time.hour }}:{{ minute_str }} לפנות בוקר {% else: %} {{ slots.time.hour - 12 }}:{{ minute_str }} אחרי הצהריים diff --git a/responses/th/HassGetCurrentTime.yaml b/responses/th/HassGetCurrentTime.yaml index 8ab9ebef47..7c96d450b0 100644 --- a/responses/th/HassGetCurrentTime.yaml +++ b/responses/th/HassGetCurrentTime.yaml @@ -4,7 +4,7 @@ responses: HassGetCurrentTime: default: "TODO: {% set minute_str = '{0:02d}'.format(slots.time.minute) %} - {% if slots.time.hour <= 12: %} {{ slots.time.hour }}:{{ minute_str }} AM + {% if slots.time.hour < 12: %} {{ slots.time.hour }}:{{ minute_str }} AM {% else: %} {{ slots.time.hour - 12 }}:{{ minute_str }} PM {% endif %} " diff --git a/responses/zh-cn/HassGetCurrentTime.yaml b/responses/zh-cn/HassGetCurrentTime.yaml index caa8df869c..93d9d32e18 100644 --- a/responses/zh-cn/HassGetCurrentTime.yaml +++ b/responses/zh-cn/HassGetCurrentTime.yaml @@ -5,7 +5,7 @@ responses: default: > {% set minute_str = '{0:02d}'.format(slots.time.minute) %} - {% if slots.time.hour <= 12: %} + {% if slots.time.hour < 12: %} 上午{{ slots.time.hour }}点{{ minute_str }}分 {% else: %} 下午{{ slots.time.hour - 12 }}点{ minute_str }}分 diff --git a/responses/zh-hk/HassGetCurrentTime.yaml b/responses/zh-hk/HassGetCurrentTime.yaml index 4235308ed1..11934f28aa 100644 --- a/responses/zh-hk/HassGetCurrentTime.yaml +++ b/responses/zh-hk/HassGetCurrentTime.yaml @@ -5,7 +5,7 @@ responses: default: > {% set minute_str = '{0:02d}'.format(slots.time.minute) %} - {% if slots.time.hour <= 12: %} + {% if slots.time.hour < 12: %} 上晝 {{ slots.time.hour }}點{{ minute_str }}分 {% else: %} 下晝 {{ slots.time.hour - 12 }}點{{ minute_str }}分