time
Format a time according to the given format.
def time(
value: time|datetime|string|null,
arg: string|null
) - > string
Format a time according to the given format.
Parameters
| Name | Type | Description |
|---|---|---|
| value | `time | datetime |
| arg | `string | null` |
Returns
| Type | Description |
|---|---|
string | The formatted time string, or an empty string if the input is invalid or null. |