Open ahzf opened 7 years ago
This is actually something I have wondered about myself. The field is wanted by quite a few parties, but I personally would always have preferred putting seconds in there as well. I'll take this along for discussion for the next version again.
The CDRInfo https://github.com/e-clearing-net/OCHP/blob/master/OCHP.md#regularhourstype-class defines an optional field called "duration" which is defined as the duration of the charge session and represented as a fixed-length string, e.g. "000:00:28". What is the clear purpose of this field, as there are already fields for startDateTime and endDateTime and why this very uncommon way of representation? Wouldn't an integer counting seconds be a better way?