mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Feature: Added timeStyle to date format for custom API (#2294)
* Add timeStyle option to custom API date format * Update documentation
This commit is contained in:
parent
dc8bea95ac
commit
fc67e1a986
2 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,7 @@ function formatValue(t, mapping, rawValue) {
|
|||
value = t("common.bitrate", { value });
|
||||
break;
|
||||
case "date":
|
||||
value = t("common.date", { value, dateStyle: mapping?.dateStyle ?? "long" });
|
||||
value = t("common.date", { value, dateStyle: mapping?.dateStyle ?? "long", timeStyle: mapping?.timeStyle });
|
||||
break;
|
||||
case "text":
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue