Feature: add date formatting option in custom api (#2228)
This commit is contained in:
1 parent
f773e026d5
commit
3c4818a2b4
4 files changed
+13
-2
No files matched your search
@@ -69,6 +69,9 @@ function formatValue(t, mapping, rawValue) {
|
||||
case "bitrate":
|
||||
value = t("common.bitrate", { value });
|
||||
break;
|
||||
case "date":
|
||||
value = t("common.date", { value, dateStyle: mapping?.dateStyle ?? "long" });
|
||||
break;
|
||||
case "text":
|
||||
default:
|
||||
// nothing
|
||||
|
||||
Reference in new issue
Block a user