diff --git a/src/widgets/customapi/component.jsx b/src/widgets/customapi/component.jsx index 195e1bbf..a9e0890d 100644 --- a/src/widgets/customapi/component.jsx +++ b/src/widgets/customapi/component.jsx @@ -70,7 +70,7 @@ function formatValue(t, mapping, rawValue) { value = t("common.bitrate", { value }); break; case "date": - value = t("common.date", { value, dateStyle: "long" }); + value = t("common.date", { value, dateStyle: mapping?.dateStyle ?? "long" }); break; case "text": default: