Skip to content

Commit

Permalink
Fixed @Anotaion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiGasai committed Aug 15, 2022
1 parent 423363d commit 1017a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper/CheckEditorForAtDates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function check4Word(
if(realWord.length != "@YYYY-MM-DD".length)return false;
if (!realWord.startsWith("@")) return false;

if(realWord.substring(1).length<100)return false;
if(realWord.substring(1).length>100)return false;

const tmpDate = window.moment(realWord.substring(1));
if (tmpDate.isValid()) {
Expand Down

0 comments on commit 1017a51

Please sign in to comment.