mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
Add name/description for TimeAndDate plugin for the docs
This commit is contained in:
parent
01b17fa67e
commit
33d75af1fc
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,7 @@ import { getMemberTz } from "./functions/getMemberTz";
|
|||
import { getDateFormat } from "./functions/getDateFormat";
|
||||
import { inMemberTz } from "./functions/inMemberTz";
|
||||
import { ResetTimezoneCmd } from "./commands/ResetTimezoneCmd";
|
||||
import { trimPluginDescription } from "../../utils";
|
||||
|
||||
const defaultOptions: PluginOptions<TimeAndDatePluginType> = {
|
||||
config: {
|
||||
|
@ -33,6 +34,13 @@ const defaultOptions: PluginOptions<TimeAndDatePluginType> = {
|
|||
|
||||
export const TimeAndDatePlugin = zeppelinPlugin<TimeAndDatePluginType>()("time_and_date", {
|
||||
showInDocs: true,
|
||||
info: {
|
||||
prettyName: "Time and date",
|
||||
description: trimPluginDescription(`
|
||||
Allows controlling the displayed time/date formats and timezones
|
||||
`),
|
||||
},
|
||||
|
||||
configSchema: ConfigSchema,
|
||||
defaultOptions,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue