bradymholt / cRonstrue

JavaScript library that translates Cron expressions into human readable descriptions
http://bradymholt.github.io/cRonstrue/
MIT License
1.28k stars 168 forks source link

"Only" wording for single day of the week #284

Closed sashock closed 7 months ago

sashock commented 1 year ago

Cron Expression 23 12 * * SUN

Expected Output "At 12:23 PM, on Sunday"

Even Better "At 12:23 PM, every Sunday"

Actual Output "At 12:23 PM, only on Sunday"

I think that adding the "only" is redundant and/or misleading when the cron runs on a given day of the week. dropping it or replacing with every would make more sense in my optinion.

bradymholt commented 1 year ago

I'd welcome a PR for this.