Add date formatting to custom api
This commit is contained in:
parent
bd61f14edf
commit
2dd1b0417a
@ -69,6 +69,9 @@ function formatValue(t, mapping, rawValue) {
|
|||||||
case "bitrate":
|
case "bitrate":
|
||||||
value = t("common.bitrate", { value });
|
value = t("common.bitrate", { value });
|
||||||
break;
|
break;
|
||||||
|
case "date":
|
||||||
|
value = t("common.date", { value, dateStyle: "long" });
|
||||||
|
break;
|
||||||
case "text":
|
case "text":
|
||||||
default:
|
default:
|
||||||
// nothing
|
// nothing
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user