duration with format
Hi!
Should I be able to format the outcome of the {my_events_field:duration}-tag?
If not, let me turn this into a feature request.
Also I would love to be able to round off the output. For example: an exhibition begins saturday at 11 am and closes at 5 pm on the next day. I would prefer to be able to express that the duration of the event is '2 days' rather than '1 day and six hours'.
And I am very pleased with that you added the 'until'-parameter to the duration-tag (and ofcourse I'd love to be able to add format and round off to this one aswell)
/regards David S, Sweden
Replies
Low 5 Dec 2012 14:13
I'm using CodeIgniters native timespan() function in the Date Helper for now, which doesn't allow for much customization. That means I'd have to write my own.
Feature request noted.