Skip to content

Enhance ja#594

Merged
wanasit merged 17 commits into
wanasit:masterfrom
koji520:enhance-ja
May 24, 2025
Merged

Enhance ja#594
wanasit merged 17 commits into
wanasit:masterfrom
koji520:enhance-ja

Conversation

@koji520

@koji520 koji520 commented May 6, 2025

Copy link
Copy Markdown
Contributor
  • Add JPSlashDateFormatParser
  • Add JPTimeExpressionParser and JPMergeDateTimeRefiner
  • Add JPWeekdayParser, JPWeekdayWithParenthesesParser and JPMergeWeekdayComponentRefiner
  • Add JPMergeDateTimeRefiner
  • Update ja/index to include common configuration
  • Add tests related to the above

expect(result.start).toBeDate(new Date(2012, 12 - 1, 31, 12));
});

testSingleCase(chrono.ja, "8/5", new Date(2012, 8 - 1, 10), (result) => {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also test zenkaku cases too.

}

// =============================================================================================
// Extracting the 'to' chunk

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid full-page line comments like this. Other people (or your IDE vs Github) may have different screen width settings.

@wanasit

wanasit commented May 24, 2025

Copy link
Copy Markdown
Owner

Thanks for the improvement!

@wanasit wanasit merged commit 92a1914 into wanasit:master May 24, 2025
@koji520

koji520 commented May 25, 2025

Copy link
Copy Markdown
Contributor Author

@wanasit
Thank you for merging!
I’ll make sure to pay attention to the comments in my next PR.

@koji520 koji520 deleted the enhance-ja branch May 25, 2025 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants