mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Node 15
This commit is contained in:
@@ -33,7 +33,7 @@ module.exports = class TimeCommand extends Command {
|
||||
label: 'time zone',
|
||||
prompt: 'Which time zone do you want to get the time of?',
|
||||
type: 'string',
|
||||
parse: timeZone => timeZone.replace(/ /g, '_').toLowerCase()
|
||||
parse: timeZone => timeZone.replaceAll(' ', '_').toLowerCase()
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user