Humanizer
Humanizer copied to clipboard
`DateOnly` has current date return 'today'
When you want to humanize the DateOnly
that has current date return 'now'.it's better to return 'today'. 'now' Word referee current date and time but 'today' referee only current date
I agree. Just for completeness:
https://github.com/Humanizr/Humanizer/blob/937e827b8d664ce800b31160e51e8b2eca95fadc/src/Humanizer.Tests.Shared/DateOnlyHumanizeTests.cs#L36
Should this also be "one month from today" instead? The precision is the same as "now" vs. "today".
I'm new to contributing to this repository. I found DateOnly
behind the scenes using the DateTime
algorithm.https://github.com/Humanizr/Humanizer/blob/937e827b8d664ce800b31160e51e8b2eca95fadc/src/Humanizer/DateTimeHumanizeStrategy/DateTimeHumanizeAlgorithms.cs#L165
It seems to me DateOnly
needs its algorithm.
Is anyone already looking into this? If not, I'd be willing to have a go at it.
Is anyone already looking into this? If not, I'd be willing to have a go at it.
Can I help you? I want to learn and know what happened inside of Humanizer.
Is anyone already looking into this? Can I try to fix it? Please assign issue
Is anyone already looking into this? Can I try to fix it? Please assign issue
I looked at the issue briefly back in March... but my branch has become stale since then. As far as I'm concerned, you can go ahead. 😉
Hello, is this fixed or still open?
Hello, is this fixed or still open?
I think you can start and implement a new pull request. In addition, you can use this pull request experience.
My first time contributing to a github project, let me know if there is anything else I should do.
Finally completed a PR that passed. Hopefully, this is acceptable and can be merged
@ AJacksonCT if you still want this approach, can you re submit as an opt in approach