We want to leverage the Humanizer package (as we use it elsewhere) and don't want to add more similar libraries or hand rolled code.
I have timespans some of which are thousands of days. I want to humanize them and convert them to years. Now I appreciate a year varies but if I am converting 10000 days to years - I am happy with the loss of precision.
TimeSpan.FromDays(10000).Humanize(minUnit: TimeUnit.Year);
returns
"no time"
TimeSpan.FromDays(10000).Humanize();
returns
"1428 weeks"
If I convert them to DateTimes by adding to now.
DateTime.Today.Add(TimeSpan.FromDays(10000)).Humanize();
returns
"27 years from now"
It always appends from now - can I remove the from now part in an inbuilt way?