Formatted function for RelativeTime


#1

Hello Jules,

I would like to suggest adding a "formatted" function to RelativeTime similar to the one available in the Time class.

That's all. Have a wonderful day!

-W


#2

Hmm, that's actually not as trivial as it sounds - for the Time one, I could reuse the standard library's date formatter, but for a relative time, it's a different set of possible formats, so I'd need to design and implement a whole formatting system, which would probably involve more code than the entire class takes at the moment!