From 563bfd34fd6042666777724a84fef979f3cc72fd Mon Sep 17 00:00:00 2001 From: Alastair McCormack Date: Mon, 28 Apr 2025 07:22:17 +0100 Subject: [PATCH] chore: use of correct 24-hour clock terminology (#38758) --- source/_docs/automation/trigger.markdown | 2 +- source/_docs/configuration/templating.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index a51b2870e3a..c26ec5882ab 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -696,7 +696,7 @@ A string that represents a time to fire on each day. Can be specified as `HH:MM` automation: - triggers: - trigger: time - # Military time format. This trigger will fire at 3:32 PM + # 24-hour time format. This trigger will fire at 3:32 PM at: "15:32:00" ``` diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index 180d5204dbe..b53f8b0baa8 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -727,7 +727,7 @@ For example, if you wanted to select a field from `trigger` in an automation bas - `utcnow()` returns a datetime object of the current time in the UTC timezone. - For specific values: `utcnow().second`, `utcnow().minute`, `utcnow().hour`, `utcnow().day`, `utcnow().month`, `utcnow().year`, `utcnow().weekday()` and `utcnow().isoweekday()`. - Using `utcnow()` will cause templates to be refreshed at the start of every new minute. -- `today_at(value)` converts a string containing a military time format to a datetime object with today's date in your time zone. Defaults to midnight (`00:00`). +- `today_at(value)` converts a string containing a 24-hour time format to a datetime object with today's date in your time zone. Defaults to midnight (`00:00`). - Using `today_at()` will cause templates to be refreshed at the start of every new minute.