Open ebruchez opened 11 years ago
Important thing: durations can depend on a context date, as months and years have different durations!
This would be a very useful function to have. Using binding rules to extract the months, days, hours etc. from the duration and present the results are making our forms complex.
Thanks for considering this feature.
Signature could be:
The question becomes: what should the format string be? Possibilities:
Numberer
)xxf:format-message()
format, receiving all the parts as a sequencexxf:format-message()
format(part, duration)
tuplesRequirements:
Se also DurationFormatUtils.