We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef7b952 commit e68ccbeCopy full SHA for e68ccbe
1 file changed
src/commands/geburtstag.ts
@@ -62,5 +62,5 @@ export default class GeburtstagCommand implements ApplicationCommand {
62
63
function isValidDate(mmDd: string): boolean {
64
const isoDate = new Date(`2000-${mmDd}`);
65
- return Number.isNaN(isoDate.getTime());
+ return !Number.isNaN(isoDate.getTime());
66
}
0 commit comments