diff --git a/src/libiso8601/200_parser.h b/src/libiso8601/200_parser.h index e070b63..2e9ed75 100644 --- a/src/libiso8601/200_parser.h +++ b/src/libiso8601/200_parser.h @@ -17,7 +17,7 @@ to represent them, and for validating such dates/times. /*! \brief Parse ISO8601 date/time. -\param str The input string. +\param str The input string. Whitespace will be stripped. \param[out] earliest The earliest possible time the string could represent. May be 0. \param[out] latest The latest possible time the string could represent. May be 0. \param[out] details Stores details such as the precision to which the time/date were specified. May @@ -31,8 +31,6 @@ and latest times that could possibly be represented by the string. Note that this function will accept leap seconds (23:59:60) on days on which they occurred. -\todo Strip whitespace. - */ int iso8601_parse(const char* str, struct iso8601_date* earliest, struct iso8601_date* latest, struct iso8601_details* details);