feat: add text-based date tokens to default note name template#139
feat: add text-based date tokens to default note name template#139feraranas wants to merge 1 commit intoerictli:mainfrom
Conversation
Adds {monthName}, {monthShort}, {weekday}, {weekdayShort}, and {dayOrdinal}
tokens so users can produce human-readable note names like
`Note-April-Sunday-19th` in addition to the existing numeric variants.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded support for English date formatting tags ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Usecase I found useful for readability when opening New Notes:
Adds five human-readable date tokens to the default note name template:
{monthName},{monthShort},{weekday},{weekdayShort},{dayOrdinal}.Lets users produce names like
Note-April-Sunday-19thalongside the existing numericNote-{year}-{month}-{day}.Summary by CodeRabbit
{monthName},{monthShort},{weekday},{weekdayShort}, and{dayOrdinal}. Users can now use human-readable date formats like "February", "Feb", "Sunday", "Sun", and "15th" in automatic note names.