I'm using PHP Intl library to format dates, numbers and so on. Now I have to show a time span in human readable string, for example:
1day, 1hour, 10 minutes, 14s
or in compact way:
1d 1s 10m 14s
or in supercompact way:
1d 1.10:14
Is there any way to do this using the build in Intl library without gettext? If no, I can format the timespan with a custom function, but can I get at least the names ('day', or 'd') in the correct locale from IntlDateFormatter?