I'm trying to use dust-intl in my project and I find I have some strings like "Updated yesterday" and "Created two years ago". I figured this should be solved using formatMessage to get the relative time string at the proper location, but there does not seem to be a "relative" format and as far as I can tell dust does not allow using the output of one helper as parameter to another.
I'm trying to use dust-intl in my project and I find I have some strings like "Updated yesterday" and "Created two years ago". I figured this should be solved using formatMessage to get the relative time string at the proper location, but there does not seem to be a "relative" format and as far as I can tell dust does not allow using the output of one helper as parameter to another.