clarify /jumptodate argument (#8323)

* Update SlashCommands.tsx

* remove date format from description

* update strings
This commit is contained in:
Kim Brose 2022-04-14 17:13:18 +02:00 committed by GitHub
parent f95106d2c6
commit 71ea88286d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -321,8 +321,8 @@ export const Commands = [
}),
new Command({
command: 'jumptodate',
args: '<date>',
description: _td('Jump to the given date in the timeline (YYYY-MM-DD)'),
args: '<YYYY-MM-DD>',
description: _td('Jump to the given date in the timeline'),
isEnabled: () => SettingsStore.getValue("feature_jump_to_date"),
runFn: function(roomId, args) {
if (args) {