For users of the TourCMS tour operator ecommerce platform
Hi,
Is it possible for the duration value to come back as a fraction when using the Show Tour API call. I have seen a few tours with a duration of 1 but with the duration description field saying "half day". Is this just a problem with the data of the entered for the tour itself or is it just not possible to have fraction for duration.
Cheers,
Graeme
Tags:
Permalink Reply by Paul on July 29, 2011 at 8:14am Hi Graeme,
The thinking behind this is that "half day" would be displayed to customers and the "1" (calculated) would be for a developer to know programatically that an item happened during a single day rather than being overnight. Is there a use case where this causes a problem?
Paul
© 2012 Created by TourCMS team.